mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
pikvm/pikvm#1415: kvmd-bootconfig: Supported open wifi network
This commit is contained in:
parent
d25e43c934
commit
8929d0f311
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user