From 41def4c27d8eb859ace91c00eefa915dbb4c38fc Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 5 Oct 2012 11:32:28 +0200 Subject: Run dhcpcd on all devices As we did with initscripts, run dhcpcd on all devices and not just eth0. Signed-off-by: Pierre Schmitz --- configs/releng/root-image/etc/systemd/system/dhcpcd.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 configs/releng/root-image/etc/systemd/system/dhcpcd.service (limited to 'configs/releng/root-image/etc/systemd/system/dhcpcd.service') diff --git a/configs/releng/root-image/etc/systemd/system/dhcpcd.service b/configs/releng/root-image/etc/systemd/system/dhcpcd.service new file mode 100644 index 0000000..dd030d5 --- /dev/null +++ b/configs/releng/root-image/etc/systemd/system/dhcpcd.service @@ -0,0 +1,13 @@ +[Unit] +Description=dhcpcd on all interfaces +Wants=network.target +Before=network.target + +[Service] +Type=forking +PIDFile=/run/dhcpcd.pid +ExecStart=/sbin/dhcpcd -A -b -q +ExecStop=/sbin/dhcpcd -k + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2