summaryrefslogtreecommitdiff
path: root/net/dhcpcd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhcpcd.sh')
-rw-r--r--net/dhcpcd.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
index f8e81f9..15fdf45 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