Update wifi config

This commit is contained in:
Bob Mottram 2016-10-21 18:23:59 +01:00
parent 8d5d3ba292
commit 5dd5f73218
2 changed files with 3 additions and 1 deletions

View File

@ -369,6 +369,9 @@ function networks_from_file {
rm -f $WIFI_CONFIG
fi
echo 'update_config=1' > $WIFI_CONFIG
echo '' >> $WIFI_CONFIG
ctr=0
while read -r line
do

View File

@ -153,7 +153,6 @@ fi
if [ -f ${WIFI_NETWORKS_FILE} ]; then
networks_from_file
ifconfig ${WIFI_INTERFACE} up
wpa_cli status
exit 0
fi