2 # This file is sourced by the mtx-changer script every time it runs.
3 # You can put your site customization here, and when you do an
4 # upgrade, the process should not modify this file. Thus you
5 # preserve your mtx-changer configuration.
8 # Set to 1 if you want to do offline before unload
11 # Set to amount of time in seconds to wait after an offline
14 # Set to amount of time in seconds to wait after a load
17 # Set to 1 to do an inventory before a status. Not normally needed.
20 # If you have a VXA PacketLoader, it might display a different
21 # Storage Element line, so try setting the following to 1
24 # Set to 1 if you want debug info written to a log
29 # SunOS No Additional Sense
30 # FreeBSD Current Driver State: at rest.
32 # Note Debian has a different mt than the standard Linux version.
33 # When no tape is in the drive it waits 2 minutes.
34 # When a tape is in the drive, it prints user unfriendly output.
35 # Note, with Ubuntu Gusty (8.04), there are two versions of mt,
36 # so we attempt to figure out which one.
42 ready="No Additional Sense"
45 ready="Current Driver State: at rest."
49 if test -f /etc/debian_version ; then
50 mt --version|grep "mt-st" >/dev/null 2>&1
51 if test $? -eq 1 ; then