X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/46da1409881bee5a1b11691d286f773f38374bd9..7431c1813f50563ae066c8b3a683aee3725d3ca9:/package/base-files/files/sbin/ifdown diff --git a/package/base-files/files/sbin/ifdown b/package/base-files/files/sbin/ifdown index f8ce81bcb..08433c75c 100755 --- a/package/base-files/files/sbin/ifdown +++ b/package/base-files/files/sbin/ifdown @@ -11,6 +11,8 @@ exit } +config_load /var/state/network + # remove the interface's network state FILE=/var/state/network.$$ grep -v "^config_set '$1' " /var/state/network > "$FILE"