use kill $(cat /var/run/sshd.pid) instead of killall sshd to
avoid that the init script and all sshd instances are killed when sshd is restarted thanks matt git-svn-id: svn://svn.openwrt.org/openwrt/packages@23546 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2c3879aa75
commit
2b9eb3c66d
@ -21,5 +21,5 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall sshd
|
||||
kill $(cat /var/run/sshd.pid)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user