Commit 2e871f99 authored by Natanael Copa's avatar Natanael Copa
parents ea6f3740 01b2f5b6
......@@ -2,7 +2,7 @@
pkgname=openssh
pkgver=5.8_p1
_myver=${pkgver%_*}${pkgver#*_}
pkgrel=1
pkgrel=2
pkgdesc="Port of OpenBSD's free SSH release"
url="http://www.openssh.org/portable.html"
arch="all"
......@@ -88,5 +88,5 @@ client() {
md5sums="86f5e1c23b4c4845f23b9b7b493fb53d openssh-5.8p1.tar.gz
4c96723cb6dd02f76fe263c4d68c6a6f openssh5.8-dynwindow_noneswitch.diff.gz
578fb646bab2d312172ec716970031b1 openssh5.8-peaktput.diff
e36e847812214822044b6d3e0027d3fc sshd.initd
dda71d60ff5b4fbb61ad99fe83de6bc3 sshd.initd
b35e9f3829f4cfca07168fcba98749c7 sshd.confd"
......@@ -74,6 +74,13 @@ stop() {
start-stop-daemon --stop --exec "${SSHD_BINARY}" \
--pidfile "${SSHD_PIDFILE}" --quiet
eend $?
if [ "$RC_RUNLEVEL" = "shutdown" ]; then
ebegin "Shutting down ssh connections"
_sshd_pids=$(pgrep "${SSHD_BINARY##*/}: .* \[priv]")
kill -TERM $_sshd_pids 2>&1 >/dev/null
eend 0
fi
}
reload() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment