diff options
-rw-r--r-- | net/dhcpcd.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |