wok-next diff wpa_supplicant/receipt @ rev 1773

hardinfo: fix usb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:23:48 2008 +0000 (2008-11-28)
parents 050151a9f32f
children ea3033355b0a
line diff
     1.1 --- a/wpa_supplicant/receipt	Mon Jun 30 22:31:55 2008 +0000
     1.2 +++ b/wpa_supplicant/receipt	Fri Nov 28 17:23:48 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  }