Author: nbd
Date: 2015-12-10 15:40:55 +0100 (Thu, 10 Dec 2015)
New Revision: 47830

Modified:
   trunk/package/network/utils/linux-atm/files/br2684ctl
Log:
br2684ctl: add atm-bridge disabled option

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/network/utils/linux-atm/files/br2684ctl
===================================================================
--- trunk/package/network/utils/linux-atm/files/br2684ctl       2015-12-10 
14:40:19 UTC (rev 47829)
+++ trunk/package/network/utils/linux-atm/files/br2684ctl       2015-12-10 
14:40:55 UTC (rev 47830)
@@ -6,7 +6,11 @@
 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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to