]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/cleanup-tape.in
ebl tweak base scripts to use faketape
[bacula/bacula] / regress / scripts / cleanup-tape.in
1 #!/bin/sh
2 #
3 # Cleanup left over files -- both before and after test run
4 #
5
6 . scripts/functions
7
8 scripts/cleanup
9
10 if test "x@autochanger@" != "x/dev/null" ; then
11    a=`bin/@changer_script@ @autochanger@ loaded $SLOT1 @tape_drive@ 0`
12    if test $a = 0 ; then
13      bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ 0
14    fi
15 fi
16
17 init_drive @tape_drive@
18
19