summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-11-20 21:35:13 +0200
committerMaxim Devaev <[email protected]>2024-11-20 21:35:25 +0200
commit8929d0f311310435f3c75eb1db2b3e09d80f3c46 (patch)
treec14d4004013c4c9f6a3a1af494dfd37b44624c80
parentd25e43c9340c1061efcde966b6a01c6b0ce97b0f (diff)
pikvm/pikvm#1415: kvmd-bootconfig: Supported open wifi network
-rwxr-xr-xscripts/kvmd-bootconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-bootconfig b/scripts/kvmd-bootconfig
index 6e89944d..ad98e21c 100755
--- a/scripts/kvmd-bootconfig
+++ b/scripts/kvmd-bootconfig
@@ -261,7 +261,7 @@ if [ -n "$WIFI_ESSID" ]; then
else
cat <<end_of_file > "/etc/wpa_supplicant/wpa_supplicant-$WIFI_IFACE.conf"
network={
- ssid=${WIFI_ESSID@Q}
+ ssid=$(printf '"%q"' "$WIFI_ESSID")
key_mgmt=NONE
}
end_of_file