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 /perl-install | |
parent | b61548ee174481b25e750be9f7d4c7484a0ebf96 (diff) | |
download | drakx-backup-do-not-use-c14c8abc610139d960584473fa0e656c437713ad.tar drakx-backup-do-not-use-c14c8abc610139d960584473fa0e656c437713ad.tar.gz drakx-backup-do-not-use-c14c8abc610139d960584473fa0e656c437713ad.tar.bz2 drakx-backup-do-not-use-c14c8abc610139d960584473fa0e656c437713ad.tar.xz drakx-backup-do-not-use-c14c8abc610139d960584473fa0e656c437713ad.zip |
use $::prefix to access shorewall config files
Diffstat (limited to 'perl-install')
-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 { |