mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Preserve bootup activation of firewall
This commit is contained in:
@@ -275,8 +275,8 @@ foreach $iface (@ifaces) {
|
||||
foreach my $o (@{$iface->[3]}) {
|
||||
if ($o->[0] eq 'gateway' ||
|
||||
$o->[0] eq 'pre-up' && $o->[1] =~ /brctl/ ||
|
||||
$o->[0] =~ /^(pre-)?up$/ &&
|
||||
$o->[1] =~ /ip\s+route/) {
|
||||
$o->[0] =~ /^(pre-)?up$/ && $o->[1] =~ /ip\s+route/ ||
|
||||
$o->[0] eq 'post-up' && $o->[1] =~ /iptables-restore/) {
|
||||
push(@options, $o);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user