high!

I have a small patch for chg-manual (against the one in v 2.4.2p1) which
tells which tape it is expecting before asking to insert it.

please cc any comments to my eMail, because I am not on the list.

c ya
        Sergei

--------------------------------------------------------------------
         eMail:       [EMAIL PROTECTED]
      WWW-page:     http://www.hrz.uni-giessen.de/~gc1007/
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain


--------------------------------------------------------------------
--- chg-manual.orig     Fri Feb 23 11:28:38 2001
+++ chg-manual  Fri Mar  2 12:51:50 2001
@@ -56,6 +56,7 @@
 fi

 request() {
+       amadmin $ORG tape
        echo "insert tape into slot $1 and press return" >/dev/tty
        read ANSWER </dev/tty
 }
@@ -73,7 +74,8 @@
 #      timeout=0
 #      while true;do
 #          if [ $timeout -le 0 ]; then
-#              echo "insert Amanda tape into slot $1 ($tape)" \
+#              (amadmin $ORG tape; \
+#               echo "insert the required Amanda tape into slot $1 ($tape)") \
 #                | $MAILER -s "$ORG AMANDA TAPE MOUNT REQUEST FOR SLOT $1" \
 #                        $REPORTTO
 #              timeout=`expr 60 \* 60`

Reply via email to