diff options
author | Sam Tygier <[email protected]> | 2019-01-05 20:34:47 +0000 |
---|---|---|
committer | XECDesign <[email protected]> | 2019-01-22 17:44:28 +1000 |
commit | c72f0b47ff01045608bf3ac15c1ab80546d72e1a (patch) | |
tree | 09c01db6d43e5874b33be0a8375540e4177a607b /stage2 | |
parent | 9714a11204f2c937a1c8b7d5c654426ed6c6909b (diff) |
Quote wpa wifi variables
Allows essid and passwords with special characters.
Diffstat (limited to 'stage2')
-rwxr-xr-x | stage2/02-net-tweaks/01-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/02-net-tweaks/01-run.sh b/stage2/02-net-tweaks/01-run.sh index 2192943..6180ebc 100755 --- a/stage2/02-net-tweaks/01-run.sh +++ b/stage2/02-net-tweaks/01-run.sh @@ -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 |