diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-11 13:25:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-11 13:25:58 +0000 |
commit | af7771210ebf6d3507d23ed957453822bfe1d5e7 (patch) | |
tree | 8e35acd69abf7518d9db6875d666b50d13d81079 /package/netifd/files/lib/network/config.sh | |
parent | 9141e1f560684ac04b5f56f62306089622e1132c (diff) | |
download | master-187ad058-af7771210ebf6d3507d23ed957453822bfe1d5e7.tar.gz master-187ad058-af7771210ebf6d3507d23ed957453822bfe1d5e7.tar.bz2 master-187ad058-af7771210ebf6d3507d23ed957453822bfe1d5e7.zip |
[package] netifd: localize internally used shell variables (#11567)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd/files/lib/network/config.sh')
-rwxr-xr-x | package/netifd/files/lib/network/config.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/netifd/files/lib/network/config.sh b/package/netifd/files/lib/network/config.sh index 3b3ae93404..9128971dab 100755 --- a/package/netifd/files/lib/network/config.sh +++ b/package/netifd/files/lib/network/config.sh @@ -5,6 +5,7 @@ find_config() { local device="$1" + local ifdev ifl3dev ifobj for ifobj in `ubus list network.interface.\*`; do interface="${ifobj##network.interface.}" ( @@ -36,7 +37,7 @@ ubus_call() { fixup_interface() { local config="$1" - local ifname type + local ifname type device l3dev config_get type "$config" type config_get ifname "$config" ifname |