Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c50722
)
Move the llecho.sh config into seperate script so it now works just like
author
rread
<rread>
Thu, 26 Dec 2002 18:19:46 +0000
(18:19 +0000)
committer
rread
<rread>
Thu, 26 Dec 2002 18:19:46 +0000
(18:19 +0000)
llmount.sh
lustre/tests/llechocleanup.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/llechocleanup.sh
b/lustre/tests/llechocleanup.sh
index
de4b35d
..
2d63fa9
100755
(executable)
--- 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
+