ifup-wireless: the PSK parameter need to be quoted
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
333285d76d
commit
f0bab9063e
@ -150,13 +150,13 @@ if [ "$WIRELESS_ESSID" -o "$WIRELESS_ENC" ]; then
|
|||||||
cat >> $tmpfile1 << _EOF
|
cat >> $tmpfile1 << _EOF
|
||||||
ctrl_interface=/var/run/wpa_supplicant
|
ctrl_interface=/var/run/wpa_supplicant
|
||||||
network={
|
network={
|
||||||
scan_ssid=0
|
scan_ssid=0
|
||||||
ssid="$WIRELESS_ESSID"
|
ssid="$WIRELESS_ESSID"
|
||||||
proto=WPA
|
proto=WPA
|
||||||
key_mgmt=WPA-$WIRELESS_AUTO_Authentication_Suites
|
key_mgmt=WPA-$WIRELESS_AUTO_Authentication_Suites
|
||||||
pairwise=$WIRELESS_AUTO_Pairwise_Ciphers
|
pairwise=$WIRELESS_AUTO_Pairwise_Ciphers
|
||||||
group=$WIRELESS_AUTO_Group_Cipher
|
group=$WIRELESS_AUTO_Group_Cipher
|
||||||
psk=$WPA_PSK
|
psk="$WPA_PSK"
|
||||||
}
|
}
|
||||||
_EOF
|
_EOF
|
||||||
wpa_supplicant -Dwext -i${DEVICE} -c $tmpfile1 -B
|
wpa_supplicant -Dwext -i${DEVICE} -c $tmpfile1 -B
|
||||||
|
Loading…
Reference in New Issue
Block a user