--- /dev/null
+#! /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"
Conflicts: smartsuite, ucsc-smartsuite
Depends: ${misc:Depends}, ${shlibs:Depends}, debianutils (>= 2.2), lsb-base (>= 3.2-14)
Recommends: mailx | mailutils
-Suggests: gsmartcontrol, smart-notifier
+Suggests: gsmartcontrol, smart-notifier, powersaved
Description: control and monitor storage systems using S.M.A.R.T.
The smartmontools package contains two utility programs (smartctl and smartd)
to control and monitor storage systems using the Self-Monitoring, Analysis and
dh_compress
dh_fixperms
chmod 755 $(CURDIR)/debian/smartmontools/etc/smartmontools/run.d/10mail \
+ $(CURDIR)/debian/smartmontools/etc/smartmontools/run.d/10powersave-notify \
$(CURDIR)/debian/smartmontools/usr/share/smartmontools/smartd-runner
dh_makeshlibs
dh_installdeb