hotplug-based network script rewrite
[openwrt.git] / openwrt / package / base-files / default / etc / init.d / S40network
index d8b4e41..168fd29 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/sh
+. /etc/functions.sh
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
 case "$1" in
   start|restart)
-    ifup lan
-    ifup wan
-    ifup wifi
-    wifi up
+#    ifup lan
+#    ifup wan
+#    ifup wifi
+#    wifi up
 
     for route in $(nvram get static_route); do {
       eval "set $(echo $route | sed 's/:/ /g')"
This page took 0.022252 seconds and 4 git commands to generate.