Whamcloud - gitweb
- more LDLM refcount locking infrastructure
[fs/lustre-release.git] / lustre / demos / snapclean.sh
index 04df14f..ecc94ee 100755 (executable)
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for cleaning up snapshots and removing modules.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
@@ -7,7 +13,7 @@ plog umount $MNTOBD
 plog umount $MNTSNAP
 
 plog log "CLEANUP /dev/obd2 /dev/obd1"
-$OBDDIR/class/obdcontrol -f << EOF
+$OBDDIR/utils/obdcontrol -f << EOF
 device /dev/obd2
 cleanup
 detach