From: Stephen L Johnson Date: Fri, 9 Feb 2001 01:59:38 +0000 (+0000) Subject: corrected missed reverse substitution X-Git-Tag: spong-2_7_4~12 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e4d7aef2fd5e411f951db004ef03017dcb115d8;p=spong.git corrected missed reverse substitution --- diff --git a/src/spong-network.pl b/src/spong-network.pl index a113d97..8758022 100755 --- a/src/spong-network.pl +++ b/src/spong-network.pl @@ -17,7 +17,7 @@ # (2) Converted checks to new plugin mechanism (Stephen Johnson May 28, 1999) # Added user-configurable escalation mechanism # -# $Id: spong-network.pl,v 1.31 2001/02/08 22:55:37 sljohnson Exp $ +# $Id: spong-network.pl,v 1.32 2001/02/09 01:59:38 sljohnson Exp $ use Carp; use lib "@@LIBDIR@@"; @@ -52,7 +52,7 @@ if ( ! GetOptions("debug:i" => \$debuglevel, "restart" => \$restart, Spong::Log::set_debug_context( 'debuglevel' => $debuglevel ); $me = "@@BINDIR@@/spong-network"; -$conf_file = $ARGV[0] || "/usr/local/spong/etc/spong.conf"; +$conf_file = $ARGV[0] || "@@ETCDIR@@/spong.conf"; $hosts_file = "@@ETCDIR@@/spong.hosts"; ($HOST) = gethostbyname(&Sys::Hostname::hostname()); $HOST =~ tr/A-Z/a-z/;