X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/82b6ff28f087a5603d5c1c30fad0a8495434b9dc..5668f2ec2143d73218223baf200b3222b9aabbb4:/package/base-files/files/sbin/ifdown?ds=sidebyside 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"