wok-6.x 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 a3f50ad7bac2
children 43ee1ff86e05
files wpa_supplicant/receipt
line diff
     1.1 --- a/wpa_supplicant/receipt	Fri Jun 12 09:58:56 2009 +0200
     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  }