From: tripolar Date: Wed, 20 Oct 2010 11:35:23 +0000 (+0000) Subject: use kill $(cat /var/run/sshd.pid) instead of killall sshd to X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=2b9eb3c66d4aa673c8f50e42e3c1bd6328a3ff65;p=packages.git 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 --- diff --git a/net/openssh/files/sshd.init b/net/openssh/files/sshd.init index d1a7536fe..ec76bb6ab 100644 --- a/net/openssh/files/sshd.init +++ b/net/openssh/files/sshd.init @@ -21,5 +21,5 @@ start() { } stop() { - killall sshd + kill $(cat /var/run/sshd.pid) }