From 7d14796716939fbabb9daba6b6f5294016d63cd4 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 28 May 2013 11:51:30 -0300 Subject: [configs/releng] Use a udev rule instead of dhcpcd.service https://mailman.archlinux.org/pipermail/arch-releng/2013-May/003163.html Thanks Dave & Thomas Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules | 1 + configs/releng/root-image/root/customize_root_image.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules (limited to 'configs') 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 new file mode 100644 index 0000000..970da69 --- /dev/null +++ b/configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service" diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index ba106c8..2fccf47 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -17,4 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -systemctl enable multi-user.target pacman-init.service dhcpcd.service +systemctl enable multi-user.target pacman-init.service -- cgit v1.2.3-54-g00ecf