#!/bin/sh
. /etc/functions.sh
-[ -e /etc/config/network ] && . /etc/config/network
+[ "$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')"