mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Add option to send email notification via sendmail (or replacement). Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
11 lines
109 B
Bash
Executable File
11 lines
109 B
Bash
Executable File
#!/bin/sh
|
|
|
|
/usr/sbin/sendmail root <<EOF
|
|
From: root
|
|
To: root
|
|
Subject: UPS $NOTIFYTYPE Notification
|
|
|
|
$1
|
|
.
|
|
EOF
|