blob: 41206aedd31e2a355fcd3e5ec88bdbf75b8c9502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- drakx-net-0.96.orig/lib/network/shorewall.pm 2012-01-14 23:46:45.000000000 +0400
+++ drakx-net-0.96/lib/network/shorewall.pm 2012-05-19 22:08:12.503833968 +0400
@@ -108,7 +108,7 @@
my ($o_in) = @_;
#- read old rules file if config is not moved to rules.drakx yet
my @rules = get_config_file(-f "$::prefix${shorewall_root}/rules.drakx" ? 'rules.drakx' : 'rules');
- my %conf = (disabled => !glob_("$::prefix/etc/rc3.d/S*shorewall"),
+ my %conf = (disabled => !glob_("$::prefix/etc/systemd/system/multi-user.target.wants/shorewall*"),
ports => join(' ', map {
my $e = $_;
map { "$_/$e->[3]" } split(',', $e->[4]);
|