Now that dhcpcd-3 is stable on all arches, use it with start-stop-daemon.

This commit is contained in:
Roy Marples 2007-04-25 12:39:31 +00:00
parent 00d596fb43
commit b1d9fd4f6f

View File

@ -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