From b1d9fd4f6fb8a74c0f49e6cc14f641a94b8be6cb Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 25 Apr 2007 12:39:31 +0000 Subject: [PATCH] Now that dhcpcd-3 is stable on all arches, use it with start-stop-daemon. --- net/dhcpcd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh index f8e81f98..15fdf45c 100644 --- a/net/dhcpcd.sh +++ b/net/dhcpcd.sh @@ -38,7 +38,9 @@ dhcpcd_start() { # Bring up DHCP for this interface ebegin "Running dhcpcd" - eval /sbin/dhcpcd "${args}" "${IFACE}" + eval start-stop-daemon --start --exec /sbin/dhcpcd \ + --pidfile /var/run/"dhcpcd-${IFACE}.pid" \ + -- "${args}" "${IFACE}" eend $? || return 1 _show_address