summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-07 07:19:53 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-07 07:19:53 +0000
commite54aca7071cd6027137da98828568b2069430e5d (patch)
tree64dc01321dae7b312ca297dcfb1124ee31cd924c /perl-install
parent191df3977046a9ae332bc302ce6080824110c852 (diff)
downloaddrakx-e54aca7071cd6027137da98828568b2069430e5d.tar
drakx-e54aca7071cd6027137da98828568b2069430e5d.tar.gz
drakx-e54aca7071cd6027137da98828568b2069430e5d.tar.bz2
drakx-e54aca7071cd6027137da98828568b2069430e5d.tar.xz
drakx-e54aca7071cd6027137da98828568b2069430e5d.zip
do not crash when restarting shorewall
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/shorewall.pm1
1 files changed, 1 insertions, 0 deletions
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);
}