summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2014-02-01 09:55:32 +0100
committerThomas Bächler <thomas@archlinux.org>2014-02-01 09:55:32 +0100
commit4f4120be220c47eb100d7cb33d5ce8aa0dce6e0b (patch)
treedc392ea470b72b203eee51865b375c262239af1d
parent85b8b5d5e2565083e60a4aeee9de0321c84dc7b3 (diff)
downloadarchiso32-4f4120be220c47eb100d7cb33d5ce8aa0dce6e0b.tar.xz
releng: Fix 81-dhcpcd.rules
Commit a526d961f84fbd1a7c3b8c0d9c045700153626b7 broke this rule for virtio and other devices where no ID_NET_* is exported.
-rw-r--r--configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules2
1 files changed, 1 insertions, 1 deletions
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"