diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:14:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:14:45 +0000 |
commit | 43e8530e93493bb978c446a2023134bdd4277e50 (patch) | |
tree | e8c0d3c0c394b17381f48fb2d288f166b4f22440 /examplescripts/Example4 | |
parent | Initial commit. (diff) | |
download | smartmontools-43e8530e93493bb978c446a2023134bdd4277e50.tar.xz smartmontools-43e8530e93493bb978c446a2023134bdd4277e50.zip |
Adding upstream version 7.4.upstream/7.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examplescripts/Example4')
-rwxr-xr-x | examplescripts/Example4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examplescripts/Example4 b/examplescripts/Example4 new file mode 100755 index 0000000..4aaebbc --- /dev/null +++ b/examplescripts/Example4 @@ -0,0 +1,8 @@ +#! /bin/sh + +# Send message if /usr/lib/powersave/powersave-notify exists or exit silently +[ -x /usr/lib/powersave/powersave-notify ] || exit 0 + +/usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b> +S.M.A.R.T. message: +$SMARTD_MESSAGE" |