checkwifi script

Check wifi every 5 minutes by pinging the gateway. If no response reset
wifi.