[openssh] use the new shutdown function and kill all openssh sessions when the system...
authorPeter Wagner <​tripolar@gmx.at>
Mon, 13 Dec 2010 18:39:14 +0000 (18:39 +0000)
committerPeter Wagner <​tripolar@gmx.at>
Mon, 13 Dec 2010 18:39:14 +0000 (18:39 +0000)
SVN-Revision: 24549

net/openssh/files/sshd.init

index ec76bb6..58b5ce7 100644 (file)
@@ -23,3 +23,7 @@ start() {
 stop() {
        kill $(cat /var/run/sshd.pid)
 }
+
+shutdown() {
+       killall sshd
+}