Quote wpa wifi variables
Allows essid and passwords with special characters.pull/235/head
parent
05ee25be1d
commit
c6a344b278
|
@ -14,6 +14,6 @@ fi
|
||||||
if [ -v WPA_ESSID -a -v WPA_PASSWORD ]
|
if [ -v WPA_ESSID -a -v WPA_PASSWORD ]
|
||||||
then
|
then
|
||||||
on_chroot <<EOF
|
on_chroot <<EOF
|
||||||
wpa_passphrase ${WPA_ESSID} ${WPA_PASSWORD} >> "/etc/wpa_supplicant/wpa_supplicant.conf"
|
wpa_passphrase "${WPA_ESSID}" "${WPA_PASSWORD}" >> "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue