$this->bbcode_second_pass_quote('silentcreek', 'W')hat do you mean by "internet going down"? Irregular failures by the provider or does his router/modem turn off regularly (e.g. at night)?
If the outages would be regular you could easily handle this with a time switch and cron. That's what I do with my Pogov3. I have a time switch that turns off at 11pm. I have a cron job set to shutdown the system at 10:55pm. So the system goes down in order before being turned off. When the time switch turns on again, the system will boot without any problems. And your dad wouldn't need to do anything.
If the outages would be irregular, you could still have a cron job that checks your internet connection regularly (e.g. every 5mins) and if the internet connection is down the script will shutdown the system. If you choose the interval short enough, shutdown will be invoked before your dad pulls the plug. However, the downside is, if the internet connection is lost and your dad doesn't pull the plug, the pogo won't work again until he forecefully restarts it (by pulling the plug and plugging it in again).
posting.php?mode=quote&f=9&p=27289#Timo
I hear what you are saying, but those solutions won't work in this case, for reasons I won't go into publicly.