summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-12-07 18:00:15 +0000
committerRoy Marples <uberlord@gentoo.org>2006-12-07 18:00:15 +0000
commit9dbcdf2ba00206e4ca7d47d59b722592c0323962 (patch)
tree47ef4b21c8439e8fa3ec1e2697190f047f31f133 /sys-freebsd/freebsd-usbin/files
parentWorks on ~x86-fbsd. (diff)
downloadgentoo-2-9dbcdf2ba00206e4ca7d47d59b722592c0323962.tar.gz
gentoo-2-9dbcdf2ba00206e4ca7d47d59b722592c0323962.tar.bz2
gentoo-2-9dbcdf2ba00206e4ca7d47d59b722592c0323962.zip
rpcbind init script now uses start-stop-daemon.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files')
-rwxr-xr-xsys-freebsd/freebsd-usbin/files/rpcbind.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/rpcbind.initd b/sys-freebsd/freebsd-usbin/files/rpcbind.initd
index 9e69659e7980..69451f104daf 100755
--- a/sys-freebsd/freebsd-usbin/files/rpcbind.initd
+++ b/sys-freebsd/freebsd-usbin/files/rpcbind.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rpcbind.initd,v 1.2 2006/10/03 14:43:39 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rpcbind.initd,v 1.3 2006/12/07 18:00:15 uberlord Exp $
depend() {
need localmount
@@ -12,7 +12,7 @@ depend() {
start() {
ebegin "Starting rpcbind"
- rpcbind
+ start-stop-daemon --start --exec /usr/sbin/rpcbind
local ret=$?
eend ${ret}
@@ -25,6 +25,6 @@ start() {
stop() {
ebegin "Stopping rpcbind"
- killall rpcbind
+ start-stop-daemon --stop --exec /usr/sbin/rpcbind
eend $?
}