[openssh] use the new shutdown function and kill all openssh sessions when the system goes down
[openssh] use the new shutdown function and kill all openssh sessions when the system goes down


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24549 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/net/openssh/files/sshd.init
+++ b/net/openssh/files/sshd.init
@@ -24,3 +24,7 @@
 	kill $(cat /var/run/sshd.pid)
 }
 
+shutdown() {
+	killall sshd
+}
+

comments