From 3478c776c547c17fbc3a6461d057de71d83183b3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 29 Oct 2021 15:48:48 +0200 Subject: [dhcpc-busybox] Fix systemctl path for split-/usr systems --- core/modules/dhcpc-busybox/data/etc/udev/rules.d/99-openslx-net.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/dhcpc-busybox') 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" -- cgit v1.2.3-55-g7522