3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Cleanup left over files, then load $SLOT1 into drive and
16 # init slot for vtape driver
17 init_slot @tape_drive@ $SLOT1
19 if test x@autochanger@ != x/dev/null; then
20 slot=`$scripts/@changer_script@ @autochanger@ loaded 0 @tape_drive@ $DRIVE1`
23 $scripts/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
28 $scripts/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
29 $scripts/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
34 init_drive @tape_drive@