Alexander Schäferdiek
dde06a6da3
All checks were successful
continuous-integration/drone/push Build is passing
5 lines
No EOL
153 B
Bash
Executable file
5 lines
No EOL
153 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
HOSTNAME=$(hostname)
|
|
echo "$SMARTD_MESSAGE" | mail -s "[smartd $HOSTNAME] $SMARTD_FAILTYPE" "$SMARTD_ADDRESS"
|
|
wall "$SMARTD_MESSAGE" |