Commit 4b25e9d6 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Not completly reliable - going back to reboot method.

parent 4461de40
...@@ -746,11 +746,7 @@ while true; do ...@@ -746,11 +746,7 @@ while true; do
service hostapd stop service hostapd stop
if [[ $response = 0 ]]; then if [[ $response = 0 ]]; then
mv $TEMP_CONF /etc/network/interfaces mv $TEMP_CONF /etc/network/interfaces
service networking restart reboot
ifdown $DEFAULT_ADAPTER
ifup $DEFAULT_ADAPTER
service hostapd start
#reboot
fi fi
fi fi
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment