On Fri, Jan 3, 2014 at 7:33 PM, Thomas Bächler <thomas@archlinux.org> wrote:
--- configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 970da69..eadc669 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", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" +ACTION=="add", SUBSYSTEM=="net", NAME=="en*|eth*", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service"
This seems like it is strictly an improvement, so +1 from me. I just added support to networkd for matching on ethernet devices [0], so if we switch to that in a few releases time we can replace this udev rule with a .network file: -->8------- [Match] Type=ethernet [Network] DHCP=yes -->8------- Note that this stuff is still subject to change, so feedback would be welcome. Cheers, Tom [0]: <http://lists.freedesktop.org/archives/systemd-devel/2014-January/015984.html>