]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - examplescripts/README
import smartmontools 7.0
[mirror_smartmontools-debian.git] / examplescripts / README
index 682615bd63bc289b67b7b387f5eb35689cfcda41..e35f7cbf36b0dd47515776b70c0ebcc722032824 100644 (file)
@@ -1,24 +1,14 @@
-# Home page: http://smartmontools.sourceforge.net
+# Home page: http://www.smartmontools.org
 #
-# $Id: README,v 1.6 2006/10/09 15:25:41 sbrabec Exp $
+# $Id: README 4760 2018-08-19 18:45:53Z chrfranke $
 #
-# Copyright (C) 2003-6 Bruce Allen <smartmontools-support@lists.sourceforge.net>
+# Copyright (C) 2003-08 Bruce Allen
+# Copyright (C) 2009-18 Christian Franke
 # 
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 2, or (at your option) any later
-# version.
-# 
-# You should have received a copy of the GNU General Public License (for
-# example COPYING); if not, write to the Free Software Foundation, Inc., 675
-# Mass Ave, Cambridge, MA 02139, USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
-# This code was originally developed as a Senior Thesis by Michael Cornwell
-# at the Concurrent Systems Laboratory (now part of the Storage Systems
-# Research Center), Jack Baskin School of Engineering, University of
-# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
 
-This directory contains executable bash scripts, that are intended for
+This directory contains executable shell scripts, that are intended for
 use with the
   -m address -M exec /path/to/an/executable
 Directive in /etc/smartd.conf.
@@ -30,21 +20,29 @@ smartd and smartd.conf.
 should display those pages on your system.
 
 If you wish to contribute additional scripts to this collection,
-please email them to <smartmontools-support@lists.sourceforge.net>,
+please email them to <smartmontools-support@listi.jpberlin.de>,
 and include a brief description to use below.
 
 The files contained in this directory are:
 
-Example1: appends values of $SMARTD_* environment variables and the output
+Example1: Appends values of $SMARTD_* environment variables and the output
           of smartctl -a to the normal email message, and sends that
           to the email address listed as the argument to the -m
           Directive.
 
 Example2: Appends output of smartctl -a to the normal email message
-         and sends that to the email address listed as the argument
-         to the -m Directive.
+          and sends that to the email address listed as the argument
+          to the -m Directive.
 
 Example3: Uses wall(1) to send a warning message to all users, then powers
           down the machine.
 
 Example4: Uses powersave-notify to issue a desktop neutral warning.
+          (/etc/smartmontools/run.d/10powersave-notify from Debian package)
+
+Example5: Uses run-parts(8) to run scripts from /etc/smartmontools/run.d/.
+          (/usr/share/smartmontools/smartd-runner from Debian package)
+
+Example6: Sends a warning mail and then notifies the users by direct write
+          to terminals.
+          (/usr/libexec/smartmontools/smartdnotify from Fedora package)