Whamcloud - gitweb
baadee3d824e311ee5e8f27b6a0c6b8027013200
[fs/lustre-release.git] / lustre / demos / baseclean.sh
1 #!/bin/sh
2 # Script to remove the loopback device and temp file created in newtest.sh
3 OBDDIR="`dirname $0`/.."
4 [ "$OBDDIR" = "" ] && OBDDIR=".."
5 . $OBDDIR/demos/config.sh
6
7 [ "$LOOPDEV" ] && losetup -d $LOOPDEV
8 [ "$TMPFILE" ] && rm $TMPFILE
9