projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't load config files in failsafe mode
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
S45firewall
diff --git
a/package/base-files/default/etc/init.d/S45firewall
b/package/base-files/default/etc/init.d/S45firewall
index
c998601
..
066bded
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S45firewall
+++ b/
package/base-files/default/etc/init.d/S45firewall
@@
-5,7
+5,7
@@
${FAILSAFE:+exit}
. /etc/functions.sh
. /etc/network.overrides
. /etc/functions.sh
. /etc/network.overrides
-[ -e /etc/config/network ] && . /etc/config/network
+[
"$FAILSAFE" != "true" -a
-e /etc/config/network ] && . /etc/config/network
WAN=$(nvram get wan_ifname)
LAN=$(nvram get lan_ifname)
WAN=$(nvram get wan_ifname)
LAN=$(nvram get lan_ifname)
This page took
0.02947 seconds
and
4
git commands to generate.