aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index c5210cde81..3fd2c578ee 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -109,7 +109,9 @@ keygen()
load_interfaces()
{
config_get interface "$1" Interface
- interfaces=" ${interface} ${interfaces}"
+ config_get enable "$1" enable 1
+
+ [ "${enable}" = "1" ] && interfaces=" ${interface} ${interfaces}"
}
start_service()