git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6901
91ce42f0-d328-0410-95d8-
f526ca767f89
# For two drive tests -- set to /dev/null if you do not have it
TAPE_DRIVE1="/dev/null"
+# Set this if you are using fake tape driver
+#USE_FAKETAPE=yes
+
# This must be the path to the autochanger including its name
AUTOCHANGER_PATH="/usr/sbin/mtx"
fi
fi
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
+if test a$USE_FAKETAPE = a; then
+ mt -f @tape_drive@ rewind
+ mt -f @tape_drive@ weof
+else
+ cp /dev/null @tape_drive@
+fi