aboutsummaryrefslogtreecommitdiff
path: root/net/nut/files/nut-sendmail-notify
blob: f21e41e89accfdf13f00cb4f95e40526a35bb264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

{
exec /usr/sbin/sendmail root <<EOF
From: root
To: root
Subject: UPS $NOTIFYTYPE Notification

$1
.
EOF
} &