[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
This commit is contained in:
tripolar 2010-12-13 18:39:14 +00:00
parent 891b3befca
commit c3e743502f

View File

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