projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add firmware loading support to hotplug
[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 8818d46145c532c6d400c61f338aaffeafc5971b..85bb2fbc5db0033562d59a789ce55a279d389839 100755
(executable)
--- a/
package/base-files/default/sbin/ifdown
+++ b/
package/base-files/default/sbin/ifdown
@@
-15,6
+15,8
@@
case "$if_proto" in
""|none) exit 0;;
esac
+[ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${if_proto}_ifname)"
+
if [ "${if%%[0-9]}" = "br" ]; then
for sif in $(nvram get ${type}_ifnames); do
hotplug_dev unregister "$sif"