From c14c8abc610139d960584473fa0e656c437713ad Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 22 Aug 2002 22:49:16 +0000 Subject: use $::prefix to access shorewall config files --- perl-install/network/shorewall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index a9f8ff384..54db4b495 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -35,12 +35,12 @@ sub set_config_file { } else { $_ = '' if /^[^#]/; } - } "/etc/shorewall/$file"; + } "$::prefix/etc/shorewall/$file"; } sub get_config_file { my ($file) = @_; - map { [ split ' ' ] } grep { !/^#/ } cat_("/etc/shorewall/$file"); + map { [ split ' ' ] } grep { !/^#/ } cat_("$::prefix/etc/shorewall/$file"); } sub default_interfaces { -- cgit v1.2.1