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

[backfire] merge r21638

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21639 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-05-30 18:40:22 +00:00
parent b8fe848a7d
commit 8eca131c0f
3 changed files with 41 additions and 25 deletions

View File

@@ -40,6 +40,9 @@ done
config_get iftype "$cfg" type
[ "bridge" = "$iftype" ] && brctl delbr "$ifname" >/dev/null 2>/dev/null
# remove the interface's dns entries
remove_dns "$cfg"
# remove the interface's network state
uci_revert_state network "$1"