packages/net/nut/files/nut-sendmail-notify

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
} &