4 lines
152 B
Text
4 lines
152 B
Text
|
#!/usr/bin/env bash
|
||
|
HOSTNAME=$(hostname)
|
||
|
echo "$SMARTD_MESSAGE" | mail -s "[smartd $HOSTNAME] $SMARTD_FAILTYPE" "$SMARTD_ADDRESS"
|
||
|
wall "$SMARTD_MESSAGE"
|