X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f80d4fdc68858ba956a39e19ad6efa868beb827e..5e6d1078866ea260d52dda2ac6a4f0dbdf3ec4ac:/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 a5afe5266..df7c6b351 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/S40network @@ -1,5 +1,6 @@ #!/bin/sh -[ -e /etc/config/network] && . /etc/config/network +. /etc/functions.sh +[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network case "$1" in start|restart) ifup lan