summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-08-29 12:04:41 +0000
committerNaohiro Aota <naota@gentoo.org>2011-08-29 12:04:41 +0000
commitd6e08d8a8ebf17bb396642ea342b6d04869418ae (patch)
tree7caede5d5e931acd25413250a763ac2c114241d9 /sys-freebsd/freebsd-usbin/files
parentChange version scheme (diff)
downloadgentoo-2-d6e08d8a8ebf17bb396642ea342b6d04869418ae.tar.gz
gentoo-2-d6e08d8a8ebf17bb396642ea342b6d04869418ae.tar.bz2
gentoo-2-d6e08d8a8ebf17bb396642ea342b6d04869418ae.zip
Remove deprecated start-stop-daemon argument --oknodo, bug #377765
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files')
-rwxr-xr-xsys-freebsd/freebsd-usbin/files/nfs.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/nfs.initd b/sys-freebsd/freebsd-usbin/files/nfs.initd
index 640095f140fc..e25ddea0d3bd 100755
--- a/sys-freebsd/freebsd-usbin/files/nfs.initd
+++ b/sys-freebsd/freebsd-usbin/files/nfs.initd
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#---------------------------------------------------------------------------
@@ -35,12 +35,12 @@ start() {
stop() {
ebegin "Stopping NFS mountd"
- start-stop-daemon --stop --quiet --oknodo --exec $mountd \
+ start-stop-daemon --stop --quiet --exec $mountd \
--pidfile /var/run/mountd.pid
eend $? "Error stopping NFS mountd"
ebegin "Stopping NFS daemon"
- start-stop-daemon --stop --quiet --oknodo \
+ start-stop-daemon --stop --signal USR1 --quiet \
--name nfsd --user root
eend $? "Error stopping NFS daemon"
}