Script restart_wifi.sh -- Improved checking after wlan0 restarting.