wireless config gets regenerated not only when it does not exist, buit also if it is 0 len
SVN-Revision: 8149
This commit is contained in:
parent
848075e475
commit
206998371f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ boot() {
|
||||||
|
|
||||||
include /lib/network
|
include /lib/network
|
||||||
setup_switch
|
setup_switch
|
||||||
[ -e /etc/config/wireless ] || \
|
[ -s /etc/config/wireless ] || \
|
||||||
/sbin/wifi detect > /etc/config/wireless
|
/sbin/wifi detect > /etc/config/wireless
|
||||||
/sbin/wifi up
|
/sbin/wifi up
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue