Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel...
[openwrt.git] / package / base-files / files / sbin / ifdown
index 8ec568f..08433c7 100755 (executable)
        config_load network
        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"
+mv "$FILE" /var/state/network
+
 include /lib/network
 scan_interfaces
 
This page took 0.021539 seconds and 4 git commands to generate.