robbat2     15/04/11 20:51:01

  Modified:             mdadm.weekly
  Added:                etc-default-mdadm
  Log:
  Actually make the monthly auto-check work.
  
  (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  sys-fs/mdadm/files/mdadm.weekly

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/mdadm.weekly?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/mdadm.weekly?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/mdadm.weekly?r1=1.1&r2=1.2

Index: mdadm.weekly
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/mdadm.weekly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mdadm.weekly        12 Jul 2014 20:27:02 -0000      1.1
+++ mdadm.weekly        11 Apr 2015 20:51:01 -0000      1.2
@@ -1,4 +1,5 @@
 #!/bin/sh
+# This requires that AUTOCHECK is true in /etc/default/mdadm
 if [ -x /usr/sbin/checkarray ] && [ $(date +\%d) -le 7 ]; then
        /usr/sbin/checkarray --cron --all --idle --quiet
 fi



1.1                  sys-fs/mdadm/files/etc-default-mdadm

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/etc-default-mdadm?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mdadm/files/etc-default-mdadm?rev=1.1&content-type=text/plain

Index: etc-default-mdadm
===================================================================
# Based on Debian /etc/default/mdadm

# Gentoo comment: The cronjob checks for this value to decide to actually 
validate arrays. If missing, it does NOT actually do anything.
# AUTOCHECK:
#   should mdadm run periodic redundancy checks over your arrays? See
#   /etc/cron.d/mdadm.
AUTOCHECK=true




Reply via email to