base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they...
[openwrt-10.03/.git] / package / base-files / files / etc / init.d / network
index ef415957cc9a1a4595eef29405ed3d4a770f703f..e77db02517decf8345699140cad726cc0169dfcc 100755 (executable)
@@ -20,7 +20,10 @@ start() {
 }
 
 restart() {
-       setup_switch()
+       setup_switch() { return 0; }
+       
+       include /lib/network
+       setup_switch
        ifup -a
        /sbin/wifi up
 }