3 # This script will prepare a big dummy autochanger
10 mkdir $adir 2> /dev/null
11 rm -f $adir/log $adir/barcodes $adir/load* $adir/slot* $adir/drive* 2> /dev/null
13 # create the autochanger configuration file
14 cat > $adir/conf <<EOF
24 for i in `seq 1 75`; do
25 echo $i:vol$i >> $adir/barcodes
26 cp /dev/null $adir/slot$i
29 # make a cleaning tape
30 echo 76:CLN01 >> $adir/barcodes
31 cp /dev/null $adir/slot76
34 for i in `seq 77 79`; do
35 echo $i: >> $adir/barcodes