Add option to send email notification via sendmail (or replacement). Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
10 lines
109 B
Bash
Executable file
10 lines
109 B
Bash
Executable file
#!/bin/sh
|
|
|
|
/usr/sbin/sendmail root <<EOF
|
|
From: root
|
|
To: root
|
|
Subject: UPS $NOTIFYTYPE Notification
|
|
|
|
$1
|
|
.
|
|
EOF
|