Can a router ping continuously to prevent logout on Tikona Broadband?

I had some other problems with dd wrt so i flashed tomato on my router
Disconnected wifi connection on every device and then reconnected all devices after 25 minutes, i didn't have to login and the session was continued
I have set this command to run every 10 minutes
Code:
/bin/ping -c 1 www.google.com > /dev/null; if [[ $? != 0 ]]; then /sbin/reboot; fi
 
Back