SF.net SVN: morphix: [2328] trunk/scripts-base/etc/init.d/load-minimodules.sh

[email protected] Tue, 27 Jun 2006 14:35:26 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2328
Author:   bmsleight
Date:     2006-06-27 14:35:22 -0700 (Tue, 27 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2328&view=rev

Log Message:
-----------
Allows MiniModule/root to be overlaid. morphmini <root> tag now working

Modified Paths:
--------------
    trunk/scripts-base/etc/init.d/load-minimodules.sh
Modified: trunk/scripts-base/etc/init.d/load-minimodules.sh
===================================================================
--- trunk/scripts-base/etc/init.d/load-minimodules.sh	2006-06-26 21:30:36 UTC (rev 2327)
+++ trunk/scripts-base/etc/init.d/load-minimodules.sh	2006-06-27 21:35:22 UTC (rev 2328)
@@ -76,8 +76,8 @@
     # Unionfs overlaying (only if unionctl exists and the root dir in the minimodule exists
     # Add the /root dir to be the unionfs branch after the first component (which should be 0 and rw...)
     if [ -x /usr/sbin/unionctl -o -x /usr/bin/unionctl ];then
-	if [ -d /mnt/mini/mod$count/root ]; then
-	    unionctl /mnt/main --add --after 0 --mode ro /mnt/mini/mod$count/root
+	if [ -d /mnt/main/mnt/mini/mod$count/root ]; then
+	    unionctl /mnt/main --add --after 0 --mode ro /mnt/main/mnt/mini/mod$count/root
 	fi
     else
 	einfo "No unionctl found, not applying unionfs minimodule overlaying";


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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642