[openssh] use the new shutdown function and kill all openssh sessions when the system...
authortripolar <tripolar@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Dec 2010 18:39:14 +0000 (18:39 +0000)
committertripolar <tripolar@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Dec 2010 18:39:14 +0000 (18:39 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24549 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
+}