1
0
forked from brl/citadel
citadel/meta-citadel/recipes-citadel/bbappends/networkmanager/watch-resolvconf.service

8 lines
265 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Copy resolv.conf to /storage/citadel-state
ConditionPathExists=/run/NetworkManager/resolv.conf
ConditionPathExists=/storage/citadel-state
[Service]
Type=oneshot
ExecStart=/bin/cp /run/NetworkManager/resolv.conf /storage/citadel-state/resolv.conf