diff options
Diffstat (limited to 'package/openssh/files')
-rw-r--r-- | package/openssh/files/sshd.init | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/openssh/files/sshd.init b/package/openssh/files/sshd.init index f678349a1..5953abef2 100644 --- a/package/openssh/files/sshd.init +++ b/package/openssh/files/sshd.init @@ -1,13 +1,12 @@ #!/bin/sh #PKG openssh-server #INIT 50 - . /etc/rc.conf case $1 in autostop) ;; autostart) - [[ $openssh = NO ]] && exit 0 + test x"${openssh:-NO}" = x"NO" && exit 0 grep "^dropbear" /etc/rc.conf >/dev/null 2>&1 || dropbear=NO if [[ $openssh = AUTO && $dropbear != NO ]]; then echo openssh not starting: set to AUTO and dropbear is enabled |