summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/init.d/S40network
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-25 11:57:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-25 11:57:56 +0000
commit84e5ae23cefdd6c8c713483fe13fdcdba045de4e (patch)
tree07e7d4047a111908686f61489039bd1b36f9d0f5 /package/base-files/default/etc/init.d/S40network
parentc103b2f11109291453e70a429b202f39bed93aa1 (diff)
don't load config files in failsafe mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1750 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc/init.d/S40network')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S40network2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network
index c4226d343..df7c6b351 100755
--- a/package/base-files/default/etc/init.d/S40network
+++ b/package/base-files/default/etc/init.d/S40network
@@ -1,6 +1,6 @@
#!/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