|
From: Sam L. <lev...@ho...> - 2002-02-27 02:48:07
|
Thanks, Bruce.
That did it! Much appreciated.
Sam
-------------------
>Is there a way for mh to determine, upon Restart, that the system (and/or
>mh) had just previously been ungracefully terminated? ie power failure.
>
>What I would like to be able to do is to restore some conditions
>when power
>returns, but only when mh is restarted after a power failure. If
>I simply
>exit mh and restart it, I would want to bypass my "restoration" code.
This code in mh/code/mh_control.pl should be giving you a message on
restarting after ungracefull exit:
if ($Startup and $Save{mh_exit} ne 'normal') {
display "MisterHouse auto restarted: $Save{mh_exit}", 0;
}
Bruce
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
|