diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-10 14:40:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-10 14:40:55 +0000 |
commit | 61721e21887ea266acd057e4343f5977c29e209b (patch) | |
tree | 8dd48044e563f30f0db797ffa5ae335bccb2485a /package/network | |
parent | 3d40af7f51dc705b4d2d4033e8389f18714eb276 (diff) | |
download | master-187ad058-61721e21887ea266acd057e4343f5977c29e209b.tar.gz master-187ad058-61721e21887ea266acd057e4343f5977c29e209b.tar.bz2 master-187ad058-61721e21887ea266acd057e4343f5977c29e209b.zip |
br2684ctl: add atm-bridge disabled option
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47830 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/utils/linux-atm/files/br2684ctl | 6 |
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 |