don't load config files in failsafe mode
[openwrt.git] / openwrt / package / base-files / default / sbin / ifup
index 5dac3f9..c46fff6 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/ash
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
+
 type=$1
 debug "### ifup $type ###"
 
This page took 0.019641 seconds and 4 git commands to generate.