projects
/
openwrt-10.03
/
.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-10.03/.git]
/
package
/
base-files
/
default
/
sbin
/
ifdown
diff --git
a/package/base-files/default/sbin/ifdown
b/package/base-files/default/sbin/ifdown
index 6b255cc1b87894ca14371cb3c3bdc6c2e6e92a3f..2d4054d8b3650a673cff2b425fe727ef2a0917e1 100755
(executable)
--- a/
package/base-files/default/sbin/ifdown
+++ b/
package/base-files/default/sbin/ifdown
@@
-1,6
+1,8
@@
#!/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 "### ifdown $type ###"
if=$(nvram get ${type}_ifname)