aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-06-14 22:29:49 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-06-14 22:29:49 +0200
commit946019637ec9192450c685a61c589a9cbef7637b (patch)
treeabadd5a2168948e28fcaa252e6c86a12bc148712 /package
parentc8d8eb9d13fc6fc8b394a620c27995ee71d29c4d (diff)
downloadupstream-946019637ec9192450c685a61c589a9cbef7637b.tar.gz
upstream-946019637ec9192450c685a61c589a9cbef7637b.tar.bz2
upstream-946019637ec9192450c685a61c589a9cbef7637b.zip
base-files: fix typo in config_generate MAC check
Fixes: 8d8eb9d13fc6 ("base-files: set MAC for bridge ports (devices) instead of bridge itself") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index b3752c5430..596fcf41fa 100755
--- 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