diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-02-23 16:21:24 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-02-23 16:21:24 +0000 |
commit | 3e1e0527bcdd1c780d860a79388d610d40b686b4 (patch) | |
tree | cba7a1aab994502f731b9fb39924eddcac3f271e /net-misc/dhcp/files | |
parent | fix bug #82449 (diff) | |
download | historical-3e1e0527bcdd1c780d860a79388d610d40b686b4.tar.gz historical-3e1e0527bcdd1c780d860a79388d610d40b686b4.tar.bz2 historical-3e1e0527bcdd1c780d860a79388d610d40b686b4.zip |
Bump for a new init script that fixes non chroots, #123813.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-misc/dhcp/files')
-rw-r--r-- | net-misc/dhcp/files/dhcp.init | 8 | ||||
-rw-r--r-- | net-misc/dhcp/files/digest-dhcp-3.0.3-r4 | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/dhcp/files/dhcp.init b/net-misc/dhcp/files/dhcp.init index 271556970b3d..cbbca9e29830 100644 --- a/net-misc/dhcp/files/dhcp.init +++ b/net-misc/dhcp/files/dhcp.init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcp.init,v 1.5 2006/02/23 11:13:03 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcp.init,v 1.6 2006/02/23 16:21:24 uberlord Exp $ depend() { need net @@ -32,20 +32,20 @@ start() { [[ -n ${LD_PRELOAD} ]] && export LD_PRELOAD="${LD_PRELOAD}" local pidfile="$(get_var pid-file-name)" - pidfile="${pidfile:-/var/run/dhcp/dhcp.pid}" + pidfile="${pidfile:-/var/run/dhcp/dhcpd.pid}" ebegin "Starting ${CHROOT:+chrooted }dhcpd" start-stop-daemon --start --exec /usr/sbin/dhcpd \ --pidfile "${CHROOT}/${pidfile}" \ -- -q -pf "${pidfile}" \ -user dhcp -group dhcp ${DHCPD_OPTS} \ - ${CHROOT:+-chroot} "${CHROOT}" ${IFACE} + ${CHROOT:+-chroot} ${CHROOT} ${IFACE} eend $? && save_options pidfile "${CHROOT}/${pidfile}" } stop() { local pidfile="$(get_options pidfile)" chrooted="" - [[ ${pidfile} != /var/run/dhcp/dhcp.pid ]] && chrooted="chrooted " + [[ ${pidfile} != //var/run/dhcp/dhcpd.pid ]] && chrooted="chrooted " ebegin "Stopping ${chrooted}dhcpd" start-stop-daemon --stop --exec /usr/sbin/dhcpd \ --pidfile "${pidfile}" diff --git a/net-misc/dhcp/files/digest-dhcp-3.0.3-r4 b/net-misc/dhcp/files/digest-dhcp-3.0.3-r4 new file mode 100644 index 000000000000..bfdf4cb56303 --- /dev/null +++ b/net-misc/dhcp/files/digest-dhcp-3.0.3-r4 @@ -0,0 +1,3 @@ +MD5 f91416a0b8ed3fd0601688cf0b7df58f dhcp-3.0.3.tar.gz 870240 +RMD160 bcbd1f8b49f17809a3473103a7b5e096c45855d7 dhcp-3.0.3.tar.gz 870240 +SHA256 c96bcd884dde06c22a709cfb9e84f7e32f6577dcd52aa7f12186aa22b5e63afe dhcp-3.0.3.tar.gz 870240 |