mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
fix wifi script
This commit is contained in:
@@ -19,11 +19,11 @@ fi
|
|||||||
if [ "$1" == "status" ]; then
|
if [ "$1" == "status" ]; then
|
||||||
|
|
||||||
echo "activated=${wifiIsSet}"
|
echo "activated=${wifiIsSet}"
|
||||||
echo "connected='${connected}'"
|
echo "connected=${connected}"
|
||||||
echo "localip='${wifiLocalIP}'"
|
echo "localip='${wifiLocalIP}'"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
elif [ "$2" == "on" ]; then
|
elif [ "$1" == "on" ]; then
|
||||||
|
|
||||||
ssid="$2"
|
ssid="$2"
|
||||||
password="$3"
|
password="$3"
|
||||||
|
Reference in New Issue
Block a user