wok-current diff wpa_supplicant/receipt @ 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 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	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  }