projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ecb5d
)
br2684ctl: add atm-bridge disabled option
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 10 Dec 2015 14:40:55 +0000
(14:40 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 10 Dec 2015 14:40:55 +0000
(14:40 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47830
package/network/utils/linux-atm/files/br2684ctl
patch
|
blob
|
history
diff --git
a/package/network/utils/linux-atm/files/br2684ctl
b/package/network/utils/linux-atm/files/br2684ctl
index 6331e4ec51e544c90d1a38dd8321ebb18ddf07f6..3d122270e9b81e5a0950ceca3c7f72806cca806b 100755
(executable)
--- 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