Quote wpa wifi variables
Allows essid and passwords with special characters.
This commit is contained in:
parent
9714a11204
commit
c72f0b47ff
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ fi
|
|||
if [ -v WPA_ESSID -a -v WPA_PASSWORD ]
|
||||
then
|
||||
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
|
||||
fi
|
||||
|
|
Reference in a new issue