|
From: Heiko Z. <smi...@us...> - 2005-04-25 13:24:59
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21353/scripts Modified Files: mdadm Log Message: - added support for mdadm raid monitoring (email notification) - updated psmisc to v21.6 - updated /etc/named/root.hint - freshclam now logs into /var/log/freshclam.log (Heiko / Kari Mattsson) Index: mdadm =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mdadm,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- mdadm 11 Jan 2004 14:43:04 -0000 1.9 +++ mdadm 25 Apr 2005 13:24:50 -0000 1.10 @@ -37,6 +37,16 @@ cp mdadm $CDDIR/sbin || exit 1 cp mdadm.conf-example $ETCDIR/etc || exit 1 copy_man + + cp $MYDIR/scripts/mdadm_monitor $ETCDIR/etc/init.d || exit 1 + echo "# Start the mdadm monitor daemon (for Software RAID)?" >> $CONFIGFILE + echo "START_MDADM_MONITOR=no" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "# who should receive the email messages" >> $CONFIGFILE + echo "MDADM_MAILTO=root" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "HELP_MDADM_MONITOR=\"Monitors the status of the Software RAID\"" >> $SOFTWAREHELP + fi ;; |