From 05c590a72e88a82e35d2c488cdd9ed2c91cbfd37 Mon Sep 17 00:00:00 2001 From: rread Date: Thu, 26 Dec 2002 18:19:46 +0000 Subject: [PATCH] Move the llecho.sh config into seperate script so it now works just like llmount.sh --- lustre/tests/llechocleanup.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lustre/tests/llechocleanup.sh b/lustre/tests/llechocleanup.sh index de4b35d..2d63fa9 100755 --- a/lustre/tests/llechocleanup.sh +++ b/lustre/tests/llechocleanup.sh @@ -1,10 +1,15 @@ #!/bin/sh LCONF=../utils/lconf +NAME=${NAME:-echo} +TMP=${TMP:-/tmp} -if [ -f echo.xml ]; then - ${LCONF} --cleanup echo.xml -else - echo "no echo.xml found" +config=$NAME.xml +mkconfig=./$NAME.sh + +if [ ! -f $config ]; then + sh $mkconfig $config || exit 1 fi +${LCONF} --cleanup echo.xml + -- 1.8.3.1