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 ifup -a to boot(), closes #4543 #2781
[openwrt/svn-archive/archive.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 5255651490d4f9b69e32a18414e94567e4066024..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,9
@@
start() {
}
restart() {
+ setup_switch() { return 0; }
+
+ include /lib/network
setup_switch
ifup -a
/sbin/wifi up