Don't read from file when creating hotspot
This commit is contained in:
parent
9017806ec2
commit
e5da5f89cf
|
@ -165,6 +165,7 @@ if [ ${WIFI_DISABLE} ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ${WIFI_HOTSPOT} == 'no' ]]; then
|
||||||
if [ -f ${WIFI_NETWORKS_FILE} ]; then
|
if [ -f ${WIFI_NETWORKS_FILE} ]; then
|
||||||
wifi_established=
|
wifi_established=
|
||||||
wifi_retry_ctr=0
|
wifi_retry_ctr=0
|
||||||
|
@ -195,6 +196,7 @@ if [ -f ${WIFI_NETWORKS_FILE} ]; then
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! ${WIFI_SSID} ]; then
|
if [ ! ${WIFI_SSID} ]; then
|
||||||
echo $'No SSID given'
|
echo $'No SSID given'
|
||||||
|
|
Loading…
Reference in New Issue