projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: ifup-shellscript - fix wrong usage of 'local'
[openwrt/svn-archive/archive.git]
/
package
/
network
/
config
/
netifd
/
files
/
sbin
/
ifup
diff --git
a/package/network/config/netifd/files/sbin/ifup
b/package/network/config/netifd/files/sbin/ifup
index af3aaa8453ce93f52c2b89e743f43f9c509ad696..5515b91f76df2b5c36d46ac4b86dfc9bdcd78b1d 100755
(executable)
--- a/
package/network/config/netifd/files/sbin/ifup
+++ b/
package/network/config/netifd/files/sbin/ifup
@@
-67,12
+67,10
@@
if [ -n "$setup_wifi" ] && grep -sq config /etc/config/wireless; then
fi
}
- local radio_devs
- local network="$1"
+ network="$1"
config_load wireless
config_foreach find_related_radios wifi-iface
- local dev
for dev in $(echo "$radio_devs" | sort -u); do
/sbin/wifi up "$dev"
done