diff options
Diffstat (limited to 'package/dropbear')
-rw-r--r-- | package/dropbear/files/dropbear.init | 2 | ||||
-rw-r--r-- | package/dropbear/files/dropbear.postinst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init index 1c4c33745..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) diff --git a/package/dropbear/files/dropbear.postinst b/package/dropbear/files/dropbear.postinst index b09c34147..11c7923bb 100644 --- a/package/dropbear/files/dropbear.postinst +++ b/package/dropbear/files/dropbear.postinst @@ -1,3 +1,4 @@ #!/bin/sh . $IPKG_INSTROOT/etc/functions.sh add_rcconf '"NO" to disable' dropbear_flags " " +add_rcconf dropbear dropbear YES |