packages/net/nut/files/nut-sendmail-notify
2020-02-21 14:42:51 +08:00

13 lines
120 B
Bash
Executable File

#!/bin/sh
{
exec /usr/sbin/sendmail root <<EOF
From: root
To: root
Subject: UPS $NOTIFYTYPE Notification
$1
.
EOF
} &