X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e65143df0ddb3905335fb399bab2961095127a2a..0f661400c526b3a6be1db208aa83cadf77dc44a8:/openwrt/package/base-files/default/etc/init.d/S40network?ds=sidebyside diff --git a/openwrt/package/base-files/default/etc/init.d/S40network b/openwrt/package/base-files/default/etc/init.d/S40network index c4226d343..168fd2979 100755 --- a/openwrt/package/base-files/default/etc/init.d/S40network +++ b/openwrt/package/base-files/default/etc/init.d/S40network @@ -1,12 +1,12 @@ #!/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')"