Check that networks file exists
This commit is contained in:
parent
53f105e4eb
commit
14cc474649
|
@ -1729,7 +1729,9 @@ function hotspot_settings {
|
||||||
TEMP_WIFI_HOTSPOT='yes'
|
TEMP_WIFI_HOTSPOT='yes'
|
||||||
else
|
else
|
||||||
TEMP_WIFI_HOTSPOT='no'
|
TEMP_WIFI_HOTSPOT='no'
|
||||||
WIFI_EXTRA='--networks $WIFI_NETWORKS_FILE'
|
if [ -f $WIFI_NETWORKS_FILE ]; then
|
||||||
|
WIFI_EXTRA='--networks $WIFI_NETWORKS_FILE'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $TEMP_WIFI_TYPE != $'none' ]]; then
|
if [[ $TEMP_WIFI_TYPE != $'none' ]]; then
|
||||||
|
|
Loading…
Reference in New Issue