From 711b68c0797935f86f29981591e3f9c8e46a2077 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Thu, 11 Sep 2003 14:49:59 +0000 Subject: add the network interface window as in the drakgw's case --- perl-install/network/shorewall.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index b41bb636a..4cbc6e74d 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -123,7 +123,9 @@ sub write { set_config_file('masq', $conf->{masquerade} ? [ $conf->{net_interface}, $conf->{masquerade}{subnet} ] : (), ); - + system('uniq /etc/shorewall/masq > /etc/shorewall/masq.uniq'); + rename("/etc/shorewall/masq.uniq", "/etc/shorewall/masq"); + if ($conf->{disabled}) { run_program::rooted($::prefix, 'chkconfig', '--del', 'shorewall'); run_program::run('service', '>', '/dev/null', 'shorewall', 'stop') if $::isStandalone; -- cgit v1.2.1