X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7619fe0848dc5f31d5c4c4cadd2ec067bd5c55d1..46225926c8c36b914ad7423bb7e6f36a42b92298:/package/base-files/default/etc/init.d/S40network?ds=sidebyside diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network index d8b4e4125..168fd2979 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/S40network @@ -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')"