add quotes for SSID

This commit is contained in:
Tobias Powalowski 2022-12-13 17:51:40 +01:00
parent 6c33c7e9cb
commit b880e9edd3

View file

@ -30,4 +30,4 @@ systemctl restart iwd
sleep 2 sleep 2
iwctl device wlan0 set-property Mode ap iwctl device wlan0 set-property Mode ap
iwctl device wlan0 set-property Powered on iwctl device wlan0 set-property Powered on
iwctl ap wlan0 start "$1" "12345678" && echo -e "\033[1mSSID:$1 with password '12345678' is online now.\033[0m" iwctl ap wlan0 start "$1" "12345678" && echo -e "\033[1mSSID:'$1' with password '12345678' is online now.\033[0m"