From: | "Naohiro Aota (naota)" <naota@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-usbin/files: nfs.initd |
Date: | Mon, 29 Aug 2011 12:04:57 |
Message-Id: | 20110829120441.E0ECB20051@flycatcher.gentoo.org |
1 | naota 11/08/29 12:04:41 |
2 | |
3 | Modified: nfs.initd |
4 | Log: |
5 | Remove deprecated start-stop-daemon argument --oknodo, bug #377765 |
6 | |
7 | (Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.4 sys-freebsd/freebsd-usbin/files/nfs.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/files/nfs.initd?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/files/nfs.initd?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-usbin/files/nfs.initd?r1=1.3&r2=1.4 |
15 | |
16 | Index: nfs.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/nfs.initd,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- nfs.initd 22 Jan 2009 21:06:27 -0000 1.3 |
23 | +++ nfs.initd 29 Aug 2011 12:04:41 -0000 1.4 |
24 | @@ -1,5 +1,5 @@ |
25 | #!/sbin/runscript |
26 | -# Copyright 1999-2008 Gentoo Foundation |
27 | +# Copyright 1999-2011 Gentoo Foundation |
28 | # Distributed under the terms of the GNU General Public License v2 |
29 | |
30 | #--------------------------------------------------------------------------- |
31 | @@ -35,12 +35,12 @@ |
32 | |
33 | stop() { |
34 | ebegin "Stopping NFS mountd" |
35 | - start-stop-daemon --stop --quiet --oknodo --exec $mountd \ |
36 | + start-stop-daemon --stop --quiet --exec $mountd \ |
37 | --pidfile /var/run/mountd.pid |
38 | eend $? "Error stopping NFS mountd" |
39 | |
40 | ebegin "Stopping NFS daemon" |
41 | - start-stop-daemon --stop --quiet --oknodo \ |
42 | + start-stop-daemon --stop --signal USR1 --quiet \ |
43 | --name nfsd --user root |
44 | eend $? "Error stopping NFS daemon" |
45 | } |