diff --git a/wifi.sh b/wifi.sh index e81d402..aa2e16a 100755 --- a/wifi.sh +++ b/wifi.sh @@ -35,7 +35,7 @@ nmcli radio wifi on nmcli device wifi list printf "Enter the SSID of the WiFi network you wish to connect to:\n" -read -r WIFI_NAME +read -r wifiName nmcli --ask device wifi connect ${wifiName}