]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/mtx-changer.in
kes Turn on Batch insert code by default as it now passes regression.
[bacula/bacula] / bacula / scripts / mtx-changer.in
index 4588ef0753e121658e19082155a6488fc60cd993..44a3e41b601bf0a1bc958e897b33ba49e37995fe 100644 (file)
@@ -50,7 +50,7 @@ case ${OS} in
     ready="Current Driver State: at rest."
     ;;
   *)
-    stat="ONLINE"
+    ready="ONLINE"
   ;;
 esac
 
@@ -164,8 +164,8 @@ case $cmd in
 #
 # Increase the sleep time if you have a slow device
 # or remove the sleep and add the following:
-#     wait_for_drive $device
-      sleep 15
+#     sleep 15
+      wait_for_drive $device
       exit $rtn
       ;;