diff options
| author | Roy Marples <roy@marples.name> | 2007-04-25 12:39:31 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-04-25 12:39:31 +0000 | 
| commit | b1d9fd4f6fb8a74c0f49e6cc14f641a94b8be6cb (patch) | |
| tree | cd84371e33cfaac01836a5ab805cc0df68a619a3 | |
| parent | 00d596fb439d9c3aff6c6d06448b194681333d46 (diff) | |
| download | openrc-b1d9fd4f6fb8a74c0f49e6cc14f641a94b8be6cb.tar.xz | |
Now that dhcpcd-3 is stable on all arches, use it with start-stop-daemon.
| -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 | 
