server-scripts/smartdnotify

8 lines
132 B
Plaintext
Raw Normal View History

2014-10-19 15:27:33 +00:00
#! /bin/sh
# Send mail
echo "$SMARTD_MESSAGE" | mail -s "$SMARTD_FAILTYPE" "$SMARTD_ADDRESS"
# Notify user
wall "$SMARTD_MESSAGE"