wok-next diff wpa_supplicant/receipt @ rev 3400
wpa_supplicant: remove -w invalid option
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 13:26:26 2009 +0200 (2009-06-12) |
parents | cb36ea9aacce |
children | 7e67a155aac4 |
line diff
1.1 --- a/wpa_supplicant/receipt Tue Jun 09 18:18:50 2009 +0000 1.2 +++ b/wpa_supplicant/receipt Fri Jun 12 13:26:26 2009 +0200 1.3 @@ -38,7 +38,10 @@ 1.4 { 1.5 grep -q ^WPA_OPTIONS= $1/etc/daemons.conf || cat >> $1/etc/daemons.conf <<EOT 1.6 # wpa_supplicant daemon options 1.7 -WPA_OPTIONS="-Bw -P/var/run/wpa_supplicant.pid -c/etc/wpa_supplicant.conf -i\$(. /etc/network.conf ; echo \$WIFI_INTERFACE)" 1.8 +WPA_OPTIONS="-B -P/var/run/wpa_supplicant.pid -c/etc/wpa_supplicant.conf -i\$(. /etc/network.conf ; echo \$WIFI_INTERFACE)" 1.9 1.10 EOT 1.11 + # 'w' option dont exist anymore with < 0.6.9 1.12 + sed -i s/'-Bw'/'-B'/ $1/etc/daemons.conf 1.13 + sed -i s/'-B -w'/'-B'/g $i/etc/init.d/network.sh 1.14 }