summaryrefslogtreecommitdiff
path: root/package/openssh/files/sshd.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/openssh/files/sshd.init
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/openssh/files/sshd.init')
-rw-r--r--package/openssh/files/sshd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/openssh/files/sshd.init b/package/openssh/files/sshd.init
index 81f073b88..1a2db6ada 100644
--- a/package/openssh/files/sshd.init
+++ b/package/openssh/files/sshd.init
@@ -8,8 +8,8 @@ case $1 in
autostop) ;;
autostart)
[[ $openssh = NO ]] && exit 0
- grep dropbear_flags /etc/rc.conf >/dev/null 2>&1 || dropbear_flags=NO
- if [[ $openssh = AUTO && $dropbear_flags != NO ]]; then
+ 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
exit 0
fi