[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[3591] ipcop/trunk/config/install/init
From:       owes () users ! sourceforge ! net
Date:       2009-09-24 6:51:16
Message-ID: E1MqiAe-0005gq-Qu () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 3591
          http://ipcop.svn.sourceforge.net/ipcop/?rev=3591&view=rev
Author:   owes
Date:     2009-09-24 06:51:16 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Drop MDADM variable definition.

Modified Paths:
--------------
    ipcop/trunk/config/install/init

Modified: ipcop/trunk/config/install/init
===================================================================
--- ipcop/trunk/config/install/init	2009-09-24 06:41:54 UTC (rev 3590)
+++ ipcop/trunk/config/install/init	2009-09-24 06:51:16 UTC (rev 3591)
@@ -56,10 +56,9 @@
 
 start_raid()
 {
-	MDADM=/sbin/mdadm
 	MDCONFIG=/etc/mdadm/mdadm.conf
 
-	if [ ! -x $MDADM ]; then
+	if [ ! -x /sbin/mdadm ]; then
 		return 0
 	fi
 	if [ ! -f /proc/mdstat ]; then
@@ -70,7 +69,7 @@
 		echo -ne "Missing RAID config file, creating one ... "
 		mkdir -p ${MDCONFIG%/*}
 		echo DEVICE partitions > $MDCONFIG
-		$MDADM --examine --scan >> $MDCONFIG
+		mdadm --examine --scan >> $MDCONFIG
 		test_ok
 	fi
 
@@ -80,7 +79,7 @@
 	echo -ne "."
 	sleep 1
 	echo -ne ". "
-	$MDADM --assemble --scan --run --auto=yes --homehost=ipcop --quiet
+	mdadm --assemble --scan --run --auto=yes --homehost=ipcop --quiet
 	test_ok
 }
 


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic