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:
John Crispin 2007-07-24 22:10:10 +00:00
parent 848075e475
commit 206998371f

View file

@ -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
}