aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/utils/linux-atm/files/br2684ctl6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/network/utils/linux-atm/files/br2684ctl b/package/network/utils/linux-atm/files/br2684ctl
index 6331e4ec51..3d122270e9 100755
--- a/package/network/utils/linux-atm/files/br2684ctl
+++ b/package/network/utils/linux-atm/files/br2684ctl
@@ -6,7 +6,11 @@ USE_PROCD=1
start_daemon() {
local cfg="$1"
- local atmdev
+ local atmdev disabled
+
+ config_get_bool disabled "$cfg" disabled 0
+ [ "$disabled" -eq 1 ] && return
+
config_get atmdev "$cfg" atmdev 0
local unit