[Erp5-report] r6547 - in /umigumi/trunk/custom/dls_cd/etc/rc.d/init.d: dlscdmount dlscdtool

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 11 13:02:32 CEST 2006


Author: jerome
Date: Tue Apr 11 13:01:23 2006
New Revision: 6547

URL: http://svn.erp5.org?rev=6547&view=rev
Log:
execute config.sh after config.tgz is extracted

Modified:
    umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdmount
    umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdtool

Modified: umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdmount
URL: http://svn.erp5.org/umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdmount?rev=6547&r1=6546&r2=6547&view=diff
==============================================================================
--- umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdmount (original)
+++ umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdmount Tue Apr 11 13:01:23 2006
@@ -65,10 +65,6 @@
       rm -rf $MOUNT_DIR/var/run/*
       cp -a /var/run/* $MOUNT_DIR/var/run/
       mount --bind $MOUNT_DIR/var /var
-
-      if test -f $MOUNT_DIR/config.sh; then
-        (cd /; /bin/sh $MOUNT_DIR/config.sh)
-      fi
 
       # See if Upgrade is necessary
       if [ ! -e /var/log/upgrade.log ]; then

Modified: umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdtool
URL: http://svn.erp5.org/umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdtool?rev=6547&r1=6546&r2=6547&view=diff
==============================================================================
--- umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdtool (original)
+++ umigumi/trunk/custom/dls_cd/etc/rc.d/init.d/dlscdtool Tue Apr 11 13:01:23 2006
@@ -20,6 +20,10 @@
     
     if test -f $MOUNT_DIR/config.tgz; then
       (cd /; tar zxpvf $MOUNT_DIR/config.tgz)
+    fi
+    
+    if test -f $MOUNT_DIR/config.sh; then
+      (cd /; /bin/sh $MOUNT_DIR/config.sh)
     fi
 
     home=/home/$master_hostname




More information about the Erp5-report mailing list