SF.net SVN: logwatch:[145] scripts/services/mdadm

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 145
          http://logwatch.svn.sourceforge.net/logwatch/?rev=145&view=rev
Author:   opoplawski
Date:     2013-06-11 20:39:30 +0000 (Tue, 11 Jun 2013)
Log Message:
-----------
Also check for /etc/mdadm/mdadm.conf

Modified Paths:
--------------
    scripts/services/mdadm

Modified: scripts/services/mdadm
===================================================================
--- scripts/services/mdadm	2013-05-29 15:44:35 UTC (rev 144)
+++ scripts/services/mdadm	2013-06-11 20:39:30 UTC (rev 145)
@@ -31,6 +31,8 @@
 # what is in use.  Use /etc/mdadm.conf instead if it exists.
 if ( -f "/etc/mdadm.conf" ) {
   open(MDADM,"< /etc/mdadm.conf");
+} elsif ( -f "/etc/mdadm/mdadm.conf" ) {
+  open(MDADM,"< /etc/mdadm/mdadm.conf");
 } else {
   open(MDADM,"mdadm --examine --scan 2>/dev/null|");
 }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.