1
0
forked from brl/citadel

Add missing files to correct dns fix commit (0d13ca38df)

This commit is contained in:
isa 2024-09-10 14:19:59 -04:00
parent 0d13ca38df
commit 4c6f4f4a3d
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[Unit]
Description=Watch /run/NetworkManager
[Path]
PathChanged=/run/NetworkManager
MakeDirectory=true
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,7 @@
[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