git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7211
91ce42f0-d328-0410-95d8-
f526ca767f89
;;
$SLOT1)
;;
- default)
+ *)
bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
;;
$SLOT2)
slot=$SLOT2
;;
- default)
+ *)
bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
slot=$SLOT1
$SLOT2)
bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
;;
- default)
+ *)
echo "Something went wrong. Expected $SLOT1 or $SLOT2, got $slot"
exit 1
esac