wok-6.x rev 1020

wpa_supplicant: use
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 09 12:49:30 2008 +0000 (2008-07-09)
parents bfcc0e329840
children 204c3c235396
files wpa_supplicant/receipt
line diff
     1.1 --- a/wpa_supplicant/receipt	Tue Jul 08 23:48:13 2008 +0200
     1.2 +++ b/wpa_supplicant/receipt	Wed Jul 09 12:49:30 2008 +0000
     1.3 @@ -37,7 +37,7 @@
     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 -iwlan0"
     1.8 +WPA_OPTIONS="-Bw -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  }