]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - examplescripts/Example4
Correct maintscript syntax
[mirror_smartmontools-debian.git] / examplescripts / Example4
1 #! /bin/sh
2
3 # Send message if /usr/lib/powersave/powersave-notify exists or exit silently
4 [ -x /usr/lib/powersave/powersave-notify ] || exit 0
5
6 /usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b>
7 S.M.A.R.T. message:
8 $SMARTD_MESSAGE"