dhcpcd: update to 5.0.1, switch to OpenRC.

--HG--
extra : convert_revision : c04fe506ea2bf5df334fadc52f796ae3ea18fdcc
This commit is contained in:
Juan RP 2009-05-04 22:16:54 +02:00
parent 7217f85369
commit d406796eac
5 changed files with 68 additions and 20 deletions

View file

@ -1,16 +0,0 @@
#!/bin/sh
#
# PROVIDE: dhcpcd
# REQUIRE: network
# BEFORE: NETWORKING
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name=dhcpcd
rcvar=$name
command=/sbin/$name
pidfile=/var/run/${name}.pid
load_rc_config $name
run_rc_command "$1"

View file

@ -0,0 +1,24 @@
#!/sbin/runscript
#
#
command=/sbin/dhcpcd
command_args=-q
pidfile=/var/run/dhcpcd.pid
name="DHCP Client Daemon"
depend()
{
provide net
need localmount
use logger
after bootmisc modules
before dns
}
stop_pre()
{
if yesno $RC_GOINGDOWN; then
: ${stopsig:=SIGKILL}
fi
}