Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
obdfs/super.c: add call to flush pages when unmounting filesystem
[fs/lustre-release.git]
/
lustre
/
demos
/
config.sh
diff --git
a/lustre/demos/config.sh
b/lustre/demos/config.sh
index
c72a010
..
fd87c13
100644
(file)
--- a/
lustre/demos/config.sh
+++ b/
lustre/demos/config.sh
@@
-40,3
+40,14
@@
plog () {
fi
}
+# A routine to display a command, and prompt user if it should be run
+qrun () {
+ echo
+ echo -n "Run '$*' [Y/n]?'";
+ read JUNK
+
+ case $JUNK in
+ n*|N*) echo "'$*' not run" ;;
+ *) plog $* ;;
+ esac
+}