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
Fix typo
[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 eab00118ad46242ee6c3e8289c12b12ab6252fa9..5255651490d4f9b69e32a18414e94567e4066024 100755
(executable)
--- a/
package/base-files/files/etc/init.d/network
+++ b/
package/base-files/files/etc/init.d/network
@@
-9,7
+9,7
@@
boot() {
include /lib/network
setup_switch
- [ -
e
/etc/config/wireless ] || \
+ [ -
s
/etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
/sbin/wifi up
}
@@
-20,6
+20,7
@@
start() {
}
restart() {
+ setup_switch
ifup -a
/sbin/wifi up
}