> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi. I have a problem: When my machine is rebooting/shutdown, I have set
up
> > a rc-script that sends a mailalert to the administrator that the machine
> > has been rebooted. But the machine makes the reboot so fast that the
mail
> > never gets send. Any ideas to solve this little problem?
I know you don't ask it but.... what about mailing when the machine start
up.

>
> Make it send the mail as the first action in executing the shutdown script
> (before it kills any processes, switches runlevels, etc).  Then insert a
> 30-second delay in the script.
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
>

Reply via email to