From 4f4120be220c47eb100d7cb33d5ce8aa0dce6e0b Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 1 Feb 2014 09:55:32 +0100 Subject: releng: Fix 81-dhcpcd.rules Commit a526d961f84fbd1a7c3b8c0d9c045700153626b7 broke this rule for virtio and other devices where no ID_NET_* is exported. --- configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/releng/root-image/etc') diff --git a/configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules index eadc669..1c4053c 100644 --- a/configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules +++ b/configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules @@ -1 +1 @@ -ACTION=="add", SUBSYSTEM=="net", NAME=="en*|eth*", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" +ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="en*|eth*", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" -- cgit v1.2.3-70-g09d2