Now that dhcpcd-3 is stable on all arches, use it with start-stop-daemon.
This commit is contained in:
parent
00d596fb43
commit
b1d9fd4f6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user