X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fchg-zd-mtx.sh;h=464c07519537bdc4053e16dde5b0b92f11e124f9;hb=d92f70685083588e2a7ce6bc312a735f6937b5a6;hp=36236da96ec47ebf7a095190907bae0a70c6a92a;hpb=6c1f39091444e58c33362f0cc086375d9d273e77;p=debian%2Famanda diff --git a/changer-src/chg-zd-mtx.sh b/changer-src/chg-zd-mtx.sh index 36236da..464c075 100644 --- a/changer-src/chg-zd-mtx.sh +++ b/changer-src/chg-zd-mtx.sh @@ -192,8 +192,6 @@ # # autocleancount=99 #### Number of access before a clean. # -# cleancycle=120 #### Time (seconds) to clean drive (default 120) -# # havereader=0 #### If you have a barcode reader, set to 1. # # offline_before_unload=0 #### Does your robot require an @@ -707,11 +705,6 @@ labelfile=$changerfile-barcodes cleancount=`cat $cleanfile` accesscount=`cat $accessfile` -test -z "$MT" && Exit 2 "" "No mt command defined" -test ! -f "$MT" && Exit 2 "" "mt command ($MT) doesn't exist" -test -z "$MTX" && Exit 2 "" "No mtx command defined" -test ! -f "$MTX" && Exit 2 "" "mtx command ($MTX) doesn't exist" - #### Dig out of the config file what is needed varlist= @@ -762,11 +755,6 @@ if [ $DBGFILE = /dev/null ]; then fi Log `_ '=== Start %s ===' "\`date\`"` fi -if [ -z "$driveslot" ]; then - Exit 2 \ - `_ ''` \ - `_ 'cannot determine drive slot from %s' "$tape"` -fi stdout=$TMPDIR/$myname.1.$$ stderr=$TMPDIR/$myname.2.$$