summaryrefslogtreecommitdiffstats
path: root/perl-install/network/shorewall.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-22 22:49:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-22 22:49:16 +0000
commitc14c8abc610139d960584473fa0e656c437713ad (patch)
treeadb19b00062df8b2ca9f20c6e09f1620a0632e87 /perl-install/network/shorewall.pm
parentb61548ee174481b25e750be9f7d4c7484a0ebf96 (diff)
downloaddrakx-c14c8abc610139d960584473fa0e656c437713ad.tar
drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.gz
drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.bz2
drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.xz
drakx-c14c8abc610139d960584473fa0e656c437713ad.zip
use $::prefix to access shorewall config files
Diffstat (limited to 'perl-install/network/shorewall.pm')
-rw-r--r--perl-install/network/shorewall.pm4
1 files 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 {