summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-13 19:53:10 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-13 19:53:10 +0000
commit225c3443795b5dd3a7f51c9bc3dde7e6c0edca3c (patch)
tree7e34273b4092d6c825f3297d2562a008605dff90 /net-misc/openssh
parentwrapper script for cardctl to set location of scheme file. This is pretty ugly, (diff)
downloadhistorical-225c3443795b5dd3a7f51c9bc3dde7e6c0edca3c.tar.gz
historical-225c3443795b5dd3a7f51c9bc3dde7e6c0edca3c.tar.bz2
historical-225c3443795b5dd3a7f51c9bc3dde7e6c0edca3c.zip
restart with session open fix .. bug #929
Diffstat (limited to 'net-misc/openssh')
-rw-r--r--net-misc/openssh/files/sshd.rc67
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/openssh/files/sshd.rc6 b/net-misc/openssh/files/sshd.rc6
index 79ea244a30ff..4a48081c6233 100644
--- a/net-misc/openssh/files/sshd.rc6
+++ b/net-misc/openssh/files/sshd.rc6
@@ -1,7 +1,8 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.6 2001/12/06 20:17:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.7 2002/03/13 19:53:10 azarah Exp $
+
depend() {
need net
@@ -35,7 +36,8 @@ gen_keys() {
start() {
checkconfig || return 1
ebegin "Starting sshd"
- start-stop-daemon --start --quiet --exec /usr/sbin/sshd
+ start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid \
+ --startas /usr/sbin/sshd
eend $?
}
@@ -44,3 +46,4 @@ stop() {
start-stop-daemon --stop --quiet --pidfile /var/run/sshd.pid
eend $?
}
+