If you are running aircrack, then you may need another daemon to monitor the router status.
But if the router dies, then the script may not work as well.