From e54aca7071cd6027137da98828568b2069430e5d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 Jun 2005 07:19:53 +0000 Subject: do not crash when restarting shorewall --- perl-install/network/shorewall.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index 2d6ec55d2..ffefe6f0c 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -144,6 +144,7 @@ sub write { ); set_config_file('masq', if_($conf->{masq_subnet}, [ $conf->{net_interface}, $conf->{masq_subnet} ])); + require services; services::set_status('shorewall', !$conf->{disabled}, $::isInstall); } -- cgit v1.2.1