projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
users should use whiterussian
[openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
sbin
/
ifdown
diff --git
a/openwrt/package/base-files/default/sbin/ifdown
b/openwrt/package/base-files/default/sbin/ifdown
index
950ee12
..
2d4054d
100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/ifdown
+++ b/
openwrt/package/base-files/default/sbin/ifdown
@@
-2,7
+2,7
@@
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
. /etc/network.overrides
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
. /etc/network.overrides
-[ -e /etc/config/network ] && . /etc/config/network
+[
"$FAILSAFE" != "true" -a
-e /etc/config/network ] && . /etc/config/network
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)
This page took
0.019147 seconds
and
4
git commands to generate.