1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[backfire] merge r23087, r23091 and r23092

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23094 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-09-19 15:18:07 +00:00
parent 24f82abcc8
commit 1ac7fd2661
4 changed files with 43 additions and 39 deletions

View File

@@ -21,9 +21,9 @@ setup_interface () {
local user_router
[ -n "$ifc" ] && {
config_get old_ip "$ifc" ipaddr
config_get old_broadcast "$ifc" broadcast
config_get old_subnet "$ifc" netmask
old_ip="$(uci_get_state network "$ifc" ipaddr)"
old_broadcast="$(uci_get_state network "$ifc" broadcast)"
old_subnet="$(uci_get_state network "$ifc" netmask)"
}
[ "$ip" != "$old_ip" ] \