Update wifi config
This commit is contained in:
parent
8d5d3ba292
commit
5dd5f73218
|
@ -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
|
||||
|
|
|
@ -153,7 +153,6 @@ fi
|
|||
|
||||
if [ -f ${WIFI_NETWORKS_FILE} ]; then
|
||||
networks_from_file
|
||||
ifconfig ${WIFI_INTERFACE} up
|
||||
wpa_cli status
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue