[package] base-files:
[openwrt.git] / package / base-files / files / sbin / ifdown
index 7c6a5b7..92cdfd2 100755 (executable)
@@ -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"
 
This page took 0.022288 seconds and 4 git commands to generate.