projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac5165
)
netifd: start wifi at boot
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Nov 2011 20:02:52 +0000
(20:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Nov 2011 20:02:52 +0000
(20:02 +0000)
SVN-Revision: 28738
package/netifd/files/etc/init.d/network
patch
|
blob
|
history
diff --git
a/package/netifd/files/etc/init.d/network
b/package/netifd/files/etc/init.d/network
index d7d87350efd53897db5b968f3ce6f5438084f3d2..455bf411b16ecc9dd03ffc2506ca90d4d6ad0769 100755
(executable)
--- a/
package/netifd/files/etc/init.d/network
+++ b/
package/netifd/files/etc/init.d/network
@@
-9,6
+9,10
@@
start() {
setup_switch
ubus call network reload
+
+ grep -qs config /etc/config/wireless && {
+ /sbin/wifi up
+ }
}
restart() {