Check that networks file exists

This commit is contained in:
Bob Mottram 2016-04-27 17:35:58 +01:00
parent 53f105e4eb
commit 14cc474649
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 5 additions and 3 deletions

View File

@ -1729,8 +1729,10 @@ function hotspot_settings {
TEMP_WIFI_HOTSPOT='yes'
else
TEMP_WIFI_HOTSPOT='no'
if [ -f $WIFI_NETWORKS_FILE ]; then
WIFI_EXTRA='--networks $WIFI_NETWORKS_FILE'
fi
fi
if [[ $TEMP_WIFI_TYPE != $'none' ]]; then
if [ ! $TEMP_WIFI_PASSPHRASE ]; then