base-files: port init.d/led to new config_get
[openwrt.git] / package / base-files / files / etc / init.d / network
index 5255651..e77db02 100755 (executable)
@@ -20,6 +20,9 @@ start() {
 }
 
 restart() {
 }
 
 restart() {
+       setup_switch() { return 0; }
+       
+       include /lib/network
        setup_switch
        ifup -a
        /sbin/wifi up
        setup_switch
        ifup -a
        /sbin/wifi up
This page took 0.021394 seconds and 4 git commands to generate.