fix wifi script

This commit is contained in:
rootzoll
2020-07-23 13:24:41 +02:00
parent dfd6225f96
commit 8851df9382

View File

@@ -19,11 +19,11 @@ fi
if [ "$1" == "status" ]; then
echo "activated=${wifiIsSet}"
echo "connected='${connected}'"
echo "connected=${connected}"
echo "localip='${wifiLocalIP}'"
exit 0
elif [ "$2" == "on" ]; then
elif [ "$1" == "on" ]; then
ssid="$2"
password="$3"