Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
Date: Thu, 20 Sep 2007 07:47:15
Message-Id: E1IYGbu-0005k3-Fw@stork.gentoo.org
1 vapier 07/09/20 07:38:06
2
3 Modified: sshd.rc6
4 Log:
5 If restarting, check the config first #192825 by Hans-Werner Hilse.
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.23 net-misc/openssh/files/sshd.rc6
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.23&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.23&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.22&r2=1.23
14
15 Index: sshd.rc6
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
18 retrieving revision 1.22
19 retrieving revision 1.23
20 diff -u -r1.22 -r1.23
21 --- sshd.rc6 23 Feb 2007 10:51:48 -0000 1.22
22 +++ sshd.rc6 20 Sep 2007 07:38:06 -0000 1.23
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2006 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.22 2007/02/23 10:51:48 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.23 2007/09/20 07:38:06 vapier Exp $
29
30 opts="reload"
31
32 @@ -62,6 +62,10 @@
33 }
34
35 stop() {
36 + if [ "${RC_CMD}" = "restart" ] ; then
37 + checkconfig || return 1
38 + fi
39 +
40 ebegin "Stopping ${SVCNAME}"
41 start-stop-daemon --stop --exec "${SSHD_BINARY}" \
42 --pidfile "${SSHD_PIDFILE}" --quiet
43
44
45
46 --
47 gentoo-commits@g.o mailing list