Am Mittwoch, den 21.09.2005, 07:26 -0700 schrieb Mark Knecht: > Hi, > Yesterday my NFS server, used for MYthTV storage, but also a MythTV > frontend, seems to have spontaneously rebooted twice. After that all > recordings done for the rest of the day are bad. > > What would be an accepted easy way, meaning not too much software > setup, etc., to get the machine to email my GMail account every time > it reboots? I don't expect that this should happen often, but I'd like > to know when it does.
That's rather simple. Here's what I did: 1.) emerge mailx 2.) emerge mutt 3.) edit /etc/conf.d/local.start echo "Mail content" | mutt -s "Subject" -a "attachement file" [EMAIL PROTECTED] And you're done. > > Thanks, > Mark > -- gentoo-user@gentoo.org mailing list