projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d8eb9
)
base-files: fix typo in config_generate MAC check
author
Rafał Miłecki
<rafal@milecki.pl>
Mon, 14 Jun 2021 20:29:49 +0000
(22:29 +0200)
committer
Rafał Miłecki
<rafal@milecki.pl>
Mon, 14 Jun 2021 20:29:49 +0000
(22:29 +0200)
Fixes: 8d8eb9d13fc6 ("base-files: set MAC for bridge ports (devices) instead of bridge itself")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
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 b3752c5430870ecb540b033ea1b8a1eb15c0f87f..596fcf41fad5b21253d8f1fa74011a7387ffbdd9 100755
(executable)
--- a/
package/base-files/files/bin/config_generate
+++ b/
package/base-files/files/bin/config_generate
@@
-116,7
+116,7
@@
generate_network() {
set network.@device[-1].type='bridge'
EOF
for port in $ports; do uci add_list network.@device[-1].ports="$port"; done
- [ -n "macaddr" ] && {
+ [ -n "
$
macaddr" ] && {
for port in $ports; do
uci -q batch <<-EOF
add network device