Whamcloud - gitweb
Fix a few compiler warnings.
[fs/lustre-release.git] / lustre / demos / snaprest.sh
index bc778e3..b139e39 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test restoring a previous snapshot.  This will destroy
 # the "current" snapshot and restore the old one in its place.
+#
+# 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
 
@@ -25,7 +31,7 @@ sync
 plog log "STARTING snaprestore"
 
 
-$OBDDIR/class/obdcontrol -f << EOF
+$OBDDIR/utils/obdcontrol -f << EOF
 device /dev/obd1
 cleanup
 detach