diff options
Diffstat (limited to 'package/dropbear/files/dropbear.init')
-rw-r--r-- | package/dropbear/files/dropbear.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init index b1623c919..4a7d7a875 100644 --- a/package/dropbear/files/dropbear.init +++ b/package/dropbear/files/dropbear.init @@ -10,7 +10,7 @@ bothlog() { case $1 in autostop) ;; autostart) - [[ $dropbear_flags = NO ]] && exit 0 + test x"${dropbear:-NO}" = x"NO" && exit 0 exec sh $0 start ;; start) @@ -30,7 +30,7 @@ start) /usr/sbin/dropbear $dropbear_flags ;; stop) - killall dropbear + pkill dropbear ;; restart) sh $0 stop |