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
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')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog5
-rwxr-xr-xsys-freebsd/freebsd-usbin/files/rpcbind.initd6
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index 70698b387720..9c6508e70fa6 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-freebsd/freebsd-usbin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.34 2006/11/21 14:35:09 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.35 2006/12/07 18:00:15 uberlord Exp $
+
+ 07 Dec 2006; Roy Marples <uberlord@gentoo.org> files/rpcbind.initd:
+ rpcbind init script now uses start-stop-daemon.
21 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
freebsd-usbin-6.2_rc1.ebuild:
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 $?
}