mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
br2684ctl: add atm-bridge disabled option
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47830
This commit is contained in:
parent
47ecb5dfd2
commit
f2b0ae8698
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user