Masato Taruishi
taru****@users*****
2004年 10月 14日 (木) 21:17:36 JST
=================================================================== RCS file: ultrapossum/module/failover/recovery,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ultrapossum/module/failover/recovery 2004/10/14 09:51:47 1.13 +++ ultrapossum/module/failover/recovery 2004/10/14 12:17:36 1.14 @@ -100,6 +100,10 @@ fi } +install -d `dirname $SLURPDREPLOGFILE` \ + `dirname $ANOTHER_SLURPDREPLOGFILE` \ + `dirname $BACKUP_SLURPDSTATUSFILE` + check_replog #status if test -d "$WORKDIR"; then @@ -118,6 +122,8 @@ /bin/mv $WORK_SLURPDSTATUSFILE.$$ $ANOTHER_SLURPDSTATUSFILE /bin/cp /dev/null $REPLOGFILE /bin/cp $WORK_SLURPDREPLOGFILE $SLURPDREPLOGFILE + # FIXME: not corret strictly + /bin/cp $ANOTHER_SLURPDSTATUSFILE $SLURPDSTATUSFILE echo "done" 1>&2 #status echo "Log: $WORKDIR" 1>&2