summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-05-28 11:51:30 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-05-28 13:21:52 -0300
commit7d14796716939fbabb9daba6b6f5294016d63cd4 (patch)
treef716d682cb1032f1fddc004b9a3b22466a46c3a7 /configs
parent718089f7cb499d2a9935de71dcbc8b3e53c6fb2a (diff)
[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 <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs')
-rw-r--r--configs/releng/root-image/etc/udev/rules.d/81-dhcpcd.rules1
-rwxr-xr-xconfigs/releng/root-image/root/customize_root_image.sh2
2 files changed, 2 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
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