mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
pikvm/pikvm#1415: kvmd-bootconfig: Supported open wifi network
This commit is contained in:
@@ -261,7 +261,7 @@ if [ -n "$WIFI_ESSID" ]; then
|
|||||||
else
|
else
|
||||||
cat <<end_of_file > "/etc/wpa_supplicant/wpa_supplicant-$WIFI_IFACE.conf"
|
cat <<end_of_file > "/etc/wpa_supplicant/wpa_supplicant-$WIFI_IFACE.conf"
|
||||||
network={
|
network={
|
||||||
ssid=${WIFI_ESSID@Q}
|
ssid=$(printf '"%q"' "$WIFI_ESSID")
|
||||||
key_mgmt=NONE
|
key_mgmt=NONE
|
||||||
}
|
}
|
||||||
end_of_file
|
end_of_file
|
||||||
|
|||||||
Reference in New Issue
Block a user