#!/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
plog log "STARTING snaprestore"
-$OBDDIR/class/obdcontrol -f << EOF
+$OBDDIR/utils/obdcontrol -f << EOF
device /dev/obd1
cleanup
detach