X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Fchg-mtx.sh;h=72ffe89cb4a5599cdfa4696931643d09d977c92c;hb=422c17cad7cd7473d9a3b0888ba5a02dd931262c;hp=173f20ed81b814b90e7477c799d6009ec9ab7c68;hpb=e442edb4d5816c4ad107ad9e71164f845eba70ad;p=debian%2Famanda diff --git a/changer-src/chg-mtx.sh b/changer-src/chg-mtx.sh index 173f20e..72ffe89 100644 --- a/changer-src/chg-mtx.sh +++ b/changer-src/chg-mtx.sh @@ -37,36 +37,6 @@ if [ "$tape" = "/dev/null" -o "$TAPE" = "/dev/null" ]; then exit 2; fi -MTX=@MTX@ - -if [ -x $sbindir/ammt$SUF ]; then - MT=$sbindir/ammt$SUF - MTF=-f -elif [ -x "@MT@" ]; then - MT=@MT@ - MTF=@MT_FILE_FLAG@ -else - answer=" $myname: mt program not found" - code=1 - echo "Exit -> $answer" >> $logfile - echo "$answer" - exit $code -fi -echo MT "->" $MT $MTF >> $logfile - -if [ -x $sbindir/amdd$SUF ]; then - DD=$sbindir/amdd$SUF -elif [ -x "@DD@" ]; then - DD=@DD@ -else - answer=" $myname: dd program not found" - code=1 - echo "Exit -> $answer" >> $logfile - echo "$answer" - exit $code -fi -echo DD "->" $DD >> $logfile - firstslot=1 lastslot=5 # counted from 1 !!!