diff options
author | Florin Grad <florin@mandriva.com> | 2004-03-22 16:11:02 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2004-03-22 16:11:02 +0000 |
commit | 111cfe203fbb1b4ca4c38f1b22841e2b882df9af (patch) | |
tree | 2b43fec5c755e50f5611ff2ebcbc6472d4a69464 /perl-install/network | |
parent | 8617cbbb9e016748cb60fffccab13cfc7fc5ded9 (diff) | |
download | drakx-111cfe203fbb1b4ca4c38f1b22841e2b882df9af.tar drakx-111cfe203fbb1b4ca4c38f1b22841e2b882df9af.tar.gz drakx-111cfe203fbb1b4ca4c38f1b22841e2b882df9af.tar.bz2 drakx-111cfe203fbb1b4ca4c38f1b22841e2b882df9af.tar.xz drakx-111cfe203fbb1b4ca4c38f1b22841e2b882df9af.zip |
typo (forgot a space)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/shorewall.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index 06b0efa09..d10597a8b 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -140,7 +140,7 @@ sub write { map_each { [ 'ACCEPT', $_, 'fw', $::a, join(',', @$::b), '-' ] } %ports_by_proto } ('net', if_($conf->{loc_interface}[0], 'loc'))), ); - if (cat_("/etc/shorewall/rules") !~ /^\s*REDIRECT\s*loc\s*$squid_port\s+(\S+)/mg && $squid_port && -f "/var/run/squid.pid" && grep { /Loc/i} cat_("/etc/shorewall/zones")) { + if (cat_("/etc/shorewall/rules") !~ /^\s*REDIRECT\s*loc\s*$squid_port\s+(\S+)/mg && $squid_port && -f "/var/run/squid.pid" && grep { /Loc/i } cat_("/etc/shorewall/zones")) { substInFile { s/#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE/REDIRECT\tloc\t$squid_port\ttcp\twww\t-\nACCEPT\tfw\tnet\ttcp\twww\n#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE/; } "/etc/shorewall/rules" |