|
From: Heiko Z. <smi...@us...> - 2005-04-25 13:25:22
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21353/scripts/scripts Modified Files: clamav root.hint Added Files: mdadm_monitor 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: clamav =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/clamav,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- clamav 14 Jan 2005 23:40:01 -0000 1.7 +++ clamav 25 Apr 2005 13:24:50 -0000 1.8 @@ -9,7 +9,7 @@ ### BEGIN INIT INFO # Provides: clamav -# Required-Start: $network $syslog dnsmasq bind +# Required-Start: $network $syslog # Required-Stop: $network $syslog # Default-Start: 3 5 # Default-Stop: 0 6 @@ -50,7 +50,7 @@ test -n "$UPDATE_CLAMAV_USER" && PARAM="--proxy-user $UPDATE_CLAMAV_USER" test -n "$UPDATE_CLAMAV_PROXY" && PARAM="$PARAM --http-proxy $UPDATE_CLAMAV_PROXY" echo -n "Updating ClamAV Virus signatures: " - /usr/bin/freshclam --quiet -l /var/log/clam-update.log $PARAM + /usr/bin/freshclam --quiet -l /var/log/freshclam.log $PARAM # exit codes 0 & 1 indicate success if [ $? -lt 2 ]; then print_status success --- NEW FILE: mdadm_monitor --- #!/bin/bash # # $Source: /cvsroot/devil-linux/build/scripts/scripts/mdadm_monitor,v $ # $Revision: 1.1 $ # $Date: 2005/04/25 13:24:51 $ # # http://www.devil-linux.org # ### BEGIN INIT INFO # Provides: mdadm_monitor # Required-Start: $network $syslog # Required-Stop: $network $syslog # Default-Start: 3 5 # Default-Stop: 6 0 # Description: starts mdadm monitor ### END INIT INFO # settings source /etc/sysconfig/config # parameters NAME="mdadm monitor" CONFIGNAME=MDADM_MONITOR DAEMON=/sbin/mdadm PARAMETER="--monitor --scan --daemonise --mail=$MDADM_MAILTO" # source function library source /etc/init.d/functions eval START=\$START_$CONFIGNAME # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START=yes test "$START" = "yes" || exit 0 if [ ! -e $DAEMON ]; then echo echo "$DAEMON not found. Did you install the package?" exit 1 fi case "$1" in start) echo -n "Starting $NAME: " $DAEMON $PARAMETER > /var/run/mdadm evaluate_retval ;; stop) echo -n "Shutting down $NAME: " kill `cat /var/run/mdadm` evaluate_retval ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 ;; esac Index: root.hint =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/root.hint,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- root.hint 10 Mar 2002 22:41:55 -0000 1.1 +++ root.hint 25 Apr 2005 13:24:51 -0000 1.2 @@ -3,17 +3,14 @@ ; (e.g. reference this file in the "cache . <file>" ; configuration file of BIND domain name servers). ; -; This file is made available by InterNIC registration services +; This file is made available by InterNIC ; under anonymous FTP as ; file /domain/named.root -; on server FTP.RS.INTERNIC.NET -; -OR- under Gopher at RS.INTERNIC.NET -; under menu InterNIC Registration Services (NSI) -; submenu InterNIC Registration Archives -; file named.root +; on server FTP.INTERNIC.NET +; -OR- RS.INTERNIC.NET ; -; last update: Aug 22, 1997 -; related version of root zone: 1997082200 +; last update: Jan 29, 2004 +; related version of root zone: 2004012900 ; ; ; formerly NS.INTERNIC.NET @@ -24,7 +21,7 @@ ; formerly NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET. -B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107 +B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201 ; ; formerly C.PSI.NET ; @@ -61,22 +58,22 @@ . 3600000 NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 ; -; temporarily housed at NSI (InterNIC) +; operated by VeriSign, Inc. ; . 3600000 NS J.ROOT-SERVERS.NET. -J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10 +J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30 ; -; housed in LINX, operated by RIPE NCC +; operated by RIPE NCC ; . 3600000 NS K.ROOT-SERVERS.NET. K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 ; -; temporarily housed at ISI (IANA) +; operated by ICANN ; . 3600000 NS L.ROOT-SERVERS.NET. L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12 ; -; housed in Japan, operated by WIDE +; operated by WIDE ; . 3600000 NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 |