Amanda-Users

chg-manual has anyone used it successfully?

2002-08-15 17:47:32
Subject: chg-manual has anyone used it successfully?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users <amanda-users AT amanda DOT org>
Date: Thu, 15 Aug 2002 17:22:52 -0400
Investigating a recent posting I looked at the chg-manual code.
It contains the following:

        if [ -f $changerfile ]; then
                . $changerfile
        fi

$changerfile is <configdir>/changer.conf normally.

It is being "sourced" in this code such that the lines should
be shell script syntax.  But changer.conf is not a shell script.
Instead it contains lines like:

   number_configs     1

which the sourcing tries to execute like a command line and
of course there is no program called "number_configs".

It appears that the author of chg-manual expected the syntax
of changer.conf to be parameter assignments like NUM_CONFIG=1.

Has anyone been using chg-manual?  HOW?

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>