projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add config file /etc/config/network, add board-specific network.overrides (instead...
[openwrt/svn-archive/archive.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 6b255cc1b87894ca14371cb3c3bdc6c2e6e92a3f..950ee12db57c17e20e80ee5934b3cbb6e51e2ac7 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/ifdown
+++ b/
openwrt/package/base-files/default/sbin/ifdown
@@
-1,6
+1,8
@@
#!/bin/ash
[ $# = 0 ] && { echo " $0 <group>"; exit; }
. /etc/functions.sh
+. /etc/network.overrides
+[ -e /etc/config/network ] && . /etc/config/network
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)