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 ifup -a to boot(), closes #4543 #2781
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
etc
/
init.d
/
network
diff --git
a/package/base-files/files/etc/init.d/network
b/package/base-files/files/etc/init.d/network
index 2a116664e4c58f8b69faf847d5c6cef2e9cdf6c1..b63ed0b850a939d39980239c8d580aaea94343f2 100755
(executable)
--- a/
package/base-files/files/etc/init.d/network
+++ b/
package/base-files/files/etc/init.d/network
@@
-11,6
+11,7
@@
boot() {
setup_switch
[ -s /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
+ ifup -a
/sbin/wifi up
}
@@
-20,6
+21,10
@@
start() {
}
restart() {
+ setup_switch() { return 0; }
+
+ include /lib/network
+ setup_switch
ifup -a
/sbin/wifi up
}