X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e6477dde693f8ea0fc7b616bae18598d182b2de4..7c5eb47ac7e37ce140d46498384984f5144ac28c:/package/base-files/files/sbin/ifdown diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index 8ec568ff6..1f200fbdf 100755 --- a/package/base-files/files/sbin/ifdown +++ b/package/base-files/files/sbin/ifdown @@ -10,6 +10,10 @@ config_load network exit } + +# remove the interface's network state +uci_revert_state network "$1" + include /lib/network scan_interfaces