doc: add SSID and PASS env sets, update deploy.sh accordingly

This commit is contained in:
decentclock
2022-10-08 00:37:30 -04:00
parent cc7408dcf1
commit eb018e197e
2 changed files with 12 additions and 0 deletions

View File

@@ -22,6 +22,16 @@ then
echo "install with this command: cargo install cargo-espflash"
exit 1
fi
if [ -z "$SSID" ]
then
echo "Please set environment variable SSID to the SSID of the wifi you'll use to configure your sphinx-key."
exit 1
fi
if [ -z "$PASS" ]
then
echo "Please set environment variable PASS to the password of the wifi you'll use to configure your sphinx-key."
exit 1
fi
for FILE in /dev/tty.*
do
if check_port $FILE