diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-22 22:49:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-22 22:49:16 +0000 |
commit | c14c8abc610139d960584473fa0e656c437713ad (patch) | |
tree | adb19b00062df8b2ca9f20c6e09f1620a0632e87 | |
parent | b61548ee174481b25e750be9f7d4c7484a0ebf96 (diff) | |
download | drakx-c14c8abc610139d960584473fa0e656c437713ad.tar drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.gz drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.bz2 drakx-c14c8abc610139d960584473fa0e656c437713ad.tar.xz drakx-c14c8abc610139d960584473fa0e656c437713ad.zip |
use $::prefix to access shorewall config files
-rw-r--r-- | perl-install/network/shorewall.pm | 4 |
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 { |