diff options
author | torben | 2018-09-07 12:23:58 +0200 |
---|---|---|
committer | torben | 2018-09-07 12:23:58 +0200 |
commit | eabdd9a0be77e1b089a779d30278580aba93f427 (patch) | |
tree | a69769d1b45d30d441d0e956c2341a79207a628a | |
parent | Fix wrong install target for mac spoofer. (diff) | |
download | systemd-init-eabdd9a0be77e1b089a779d30278580aba93f427.tar.gz systemd-init-eabdd9a0be77e1b089a779d30278580aba93f427.tar.xz systemd-init-eabdd9a0be77e1b089a779d30278580aba93f427.zip |
fix.
-rwxr-xr-x | modules.d/systemd-networkd-ext/module-setup.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules.d/systemd-networkd-ext/module-setup.sh b/modules.d/systemd-networkd-ext/module-setup.sh index 23d38b21..c42db588 100755 --- a/modules.d/systemd-networkd-ext/module-setup.sh +++ b/modules.d/systemd-networkd-ext/module-setup.sh @@ -237,11 +237,6 @@ install() { inst_simple \ "$moddir/macspoof@.service" \ "$systemdsystemunitdir/macspoof@.service" - ln \ - --force \ - --symbolic \ - "$systemdsystemunitdir/macspoof@.service" \ - "$initdir/$systemdsystemunitdir/network.target.wants/macspoof@wireless.service" local service_name for service_name in \ systemd-networkd-wait-online.service \ @@ -261,6 +256,11 @@ install() { # in the service file's install section). mkdir $initdir/$systemdsystemunitdir/network.target.wants ln \ + --force \ + --symbolic \ + "$systemdsystemunitdir/macspoof@.service" \ + "$initdir/$systemdsystemunitdir/network.target.wants/macspoof@wireless.service" + ln \ --symbolic \ "$systemdsystemunitdir/systemd-resolved.service" \ "$initdir/$systemdsystemunitdir/network.target.wants/systemd-resolved.service" |