Gentoo Archives: gentoo-user

From: Dave Nebinger <dnebinger@××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] auto-email on reboot?
Date: Wed, 21 Sep 2005 15:00:54
Message-Id: 003a01c5bebc$be221180$4501010a@jnetlab.lcl
In Reply to: [gentoo-user] auto-email on reboot? by Mark Knecht
1 > What would be an accepted easy way, meaning not too much software
2 > setup, etc., to get the machine to email my GMail account every time
3 > it reboots? I don't expect that this should happen often, but I'd like
4 > to know when it does.
5
6 Add a line to /etc/conf.d/local.start to either call a script or just use a
7 line like:
8
9 mail -s "System reboot complete" user@×××××.com <
10 /etc/conf.d/static.mail.txt
11
12 And that would do it...
13
14
15 --
16 gentoo-user@g.o mailing list