Changeset 32192


Ignore:
Timestamp:
2012-06-11T15:25:58+02:00 (6 years ago)
Author:
jow
Message:

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

Location:
trunk/package/netifd/files/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/netifd/files/lib/netifd/proto/dhcp.sh

    r32098 r32192  
    1919        local iface="$2" 
    2020 
     21        local ipaddr hostname clientid vendorid broadcast reqopts 
    2122        json_get_vars ipaddr hostname clientid vendorid broadcast reqopts 
    2223 
  • trunk/package/netifd/files/lib/network/config.sh

    r31432 r32192  
    66find_config() { 
    77        local device="$1" 
     8        local ifdev ifl3dev ifobj 
    89        for ifobj in `ubus list network.interface.\*`; do 
    910                interface="${ifobj##network.interface.}" 
     
    3738fixup_interface() { 
    3839        local config="$1" 
    39         local ifname type 
     40        local ifname type device l3dev 
    4041 
    4142        config_get type "$config" type 
Note: See TracChangeset for help on using the changeset viewer.