1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 20:18:33 +03:00

[package] netifd: localize internally used shell variables (#11567)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-06-11 13:25:58 +00:00
parent b766b6c9d5
commit 6ae19d404b
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ proto_dhcp_setup() {
local config="$1"
local iface="$2"
local ipaddr hostname clientid vendorid broadcast reqopts
json_get_vars ipaddr hostname clientid vendorid broadcast reqopts
local opt dhcpopts

View File

@ -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