X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Famserverconfig.pl;h=ad0abc4f2a8af00a801ede1a705fe5678ee2275f;hb=f62188753ffc49e6b684b288dd9394f71b1e776c;hp=f176f312379cea158c21b042d2633fb4ae8f2222;hpb=afaa71b3866b46b082b6c895772e15b36d8865fe;p=debian%2Famanda diff --git a/server-src/amserverconfig.pl b/server-src/amserverconfig.pl index f176f31..ad0abc4 100755 --- a/server-src/amserverconfig.pl +++ b/server-src/amserverconfig.pl @@ -1,6 +1,6 @@ #!@PERL@ # -# Copyright (c) 2005-2008 Zmanda Inc. All Rights Reserved. +# Copyright (c) 2007,2008,2009 Zmanda, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 as published @@ -15,7 +15,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# Contact information: Zmanda Inc, 465 S Mathlida Ave, Suite 300 +# Contact information: Zmanda Inc, 465 S. Mathilda Ave., Suite 300 # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com # @@ -30,7 +30,7 @@ my $confdir="$CONFIG_DIR"; my $tmpdir="$AMANDA_DBGDIR"; my $amandahomedir="$localstatedir/lib/amanda"; my $templatedir="$amdatadir/template.d"; #rpm install template files here -my $def_tapedev="file:/$amandahomedir/vtapes"; +my $def_tapedev="file:$amandahomedir/vtapes"; my $amanda_user="@CLIENT_LOGIN@"; my $def_config="@DEFAULT_CONFIG@"; @@ -46,17 +46,11 @@ my $holding_err=0; my $template_only=0; my $parentdir; my $host; -# Get the version suffix. -my $USE_VERSION_SUFFIXES = '@USE_VERSION_SUFFIXES@'; -my $suf = ''; -if ( $USE_VERSION_SUFFIXES =~ /^yes$/i ) { - $suf='-@VERSION@'; -} #usage sub usage { - print "$0 $suf\n"; + print "$0\n"; print "\t\t [--template