projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c2111
)
base-files: config_generate: do not remove previously generated interfaces
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 25 Nov 2015 15:43:43 +0000
(15:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 25 Nov 2015 15:43:43 +0000
(15:43 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47647
package/base-files/files/bin/config_generate
patch
|
blob
|
history
diff --git
a/package/base-files/files/bin/config_generate
b/package/base-files/files/bin/config_generate
index 29fec8e94645e30144654def1db6e211b814dfad..64e0888368702559ec77b074250f61ba1c24b913 100755
(executable)
--- a/
package/base-files/files/bin/config_generate
+++ b/
package/base-files/files/bin/config_generate
@@
-183,7
+183,6
@@
calculate_switch_vlans() {
;; esac
uci -q batch <<-EOF
- delete network.$role
set network.$role='interface'
set network.$role.ifname='$device'
EOF
@@
-199,7
+198,6
@@
calculate_switch_vlans() {
;;
wan) uci -q batch <<-EOF
set network.wan.proto='dhcp'
- delete network.wan6
set network.wan6='interface'
set network.wan6.ifname='$device'
set network.wan6.proto='dhcpv6'