citadel/meta-citadel/recipes-connectivity/networkmanager/files/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