From 0a077a30634c71e2eb0360e4278c2fcb3071909e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 16 Mar 2010 14:14:00 +0000 Subject: Revert "main/openssh: kill current ssh sessions on stop" This reverts commit ae99c382f78b1582b1528c2ce03570605c845503. --- main/openssh/APKBUILD | 4 ++-- main/openssh/sshd.initd | 10 +--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD index bbc0d164c..87d996e97 100644 --- a/main/openssh/APKBUILD +++ b/main/openssh/APKBUILD @@ -2,7 +2,7 @@ pkgname=openssh pkgver=5.4_p1 _myver=${pkgver%_*}${pkgver#*_} -pkgrel=1 +pkgrel=0 pkgdesc="Port of OpenBSD's free SSH release" url="http://www.openssh.org/portable.html" license="as-is" @@ -63,5 +63,5 @@ client() { } md5sums="da10af8a789fa2e83e3635f3a1b76f5e openssh-5.4p1.tar.gz -e11f44a4c47135484ac750d52855f846 sshd.initd +d993cc91e9fab6c6012390874c28af0a sshd.initd b35e9f3829f4cfca07168fcba98749c7 sshd.confd" diff --git a/main/openssh/sshd.initd b/main/openssh/sshd.initd index 149b0ecef..34852c4e3 100644 --- a/main/openssh/sshd.initd +++ b/main/openssh/sshd.initd @@ -63,7 +63,6 @@ start() { } stop() { - local rc= if [ "${RC_CMD}" = "restart" ] ; then checkconfig || return 1 fi @@ -71,14 +70,7 @@ stop() { ebegin "Stopping ${SVCNAME}" start-stop-daemon --stop --exec "${SSHD_BINARY}" \ --pidfile "${SSHD_PIDFILE}" --quiet - rc=$? - eend $rc - - if [ "${RC_CMD}" = "stop" ]; then - # kill sessions on shutdown but not on restart - killall -q sshd & - fi - return $rc + eend $? } reload() { -- cgit v1.2.3