Clear value after each wifi network
This commit is contained in:
parent
32ed82bd67
commit
749536afcd
|
@ -315,6 +315,11 @@ function create_networks_interactive {
|
||||||
if [ ${#WIFI_PASSPHRASE} -gt 1 ]; then
|
if [ ${#WIFI_PASSPHRASE} -gt 1 ]; then
|
||||||
echo "$WIFI_PASSPHRASE" >> $WIFI_NETWORKS_FILE
|
echo "$WIFI_PASSPHRASE" >> $WIFI_NETWORKS_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# clear values
|
||||||
|
WIFI_SSID=
|
||||||
|
WIFI_PASSPHRASE=
|
||||||
|
|
||||||
wifi_ctr=$((wifi_ctr + 1))
|
wifi_ctr=$((wifi_ctr + 1))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue