summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-29 15:48:48 +0200
committerSimon Rettberg2021-10-29 15:48:48 +0200
commit3478c776c547c17fbc3a6461d057de71d83183b3 (patch)
treedeef83fbc5b5efeda9cb8fe4058c8a010a12418f /core/modules/dhcpc-busybox
parent[rootfs-stage32] /etc/profile: Only source bashrc on bash (diff)
downloadmltk-3478c776c547c17fbc3a6461d057de71d83183b3.tar.gz
mltk-3478c776c547c17fbc3a6461d057de71d83183b3.tar.xz
mltk-3478c776c547c17fbc3a6461d057de71d83183b3.zip
[dhcpc-busybox] Fix systemctl path for split-/usr systems
Diffstat (limited to 'core/modules/dhcpc-busybox')
-rw-r--r--core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules b/core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules
index 8aa11f0d..de91cee9 100644
--- a/core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules
+++ b/core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules
@@ -5,4 +5,4 @@
# was. I assume it's something to with switching from initrd to final root, but this isn't worth the effort tbh.
#ACTION=="add", SUBSYSTEM=="net", KERNEL=="br0|br-nic-*", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/$name", ENV{SYSTEMD_WANTS}="network-interface@$name.service"
# So use a more crude approach that triggers every time (consecutive invocations shouldn't do anything)
-ACTION=="add", SUBSYSTEM=="net", KERNEL=="br0|br-nic-*", RUN+="/usr/bin/systemctl --no-block start network-interface@$name.service"
+ACTION=="add", SUBSYSTEM=="net", KERNEL=="br0|br-nic-*", RUN+="/bin/systemctl --no-block start network-interface@$name.service"