Firewall: renamed forwardfwctrl to firewallctrl

This commit is contained in:
Alexander Marx
2013-10-24 09:42:42 +02:00
parent 6d8eb5dec7
commit 8039a71099
9 changed files with 11 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'save'}) {
if ($settings{'defpol'} ne '1'){
$errormessage .= $Lang::tr{'new optionsfw later'};
&General::writehash($filename, \%settings); # Save good settings
system("/usr/local/bin/forwardfwctrl");
system("/usr/local/bin/firewallctrl");
}else{
if ($settings{'POLICY'} ne ''){
$fwdfwsettings{'POLICY'} = $settings{'POLICY'};
@@ -56,7 +56,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'save'}) {
$fwdfwsettings{'POLICY1'} = "$MODE1";
&General::writehash("${General::swroot}/firewall/settings", \%fwdfwsettings);
&General::readhash("${General::swroot}/firewall/settings", \%fwdfwsettings);
system("/usr/local/bin/forwardfwctrl");
system("/usr/local/bin/firewallctrl");
}
&General::readhash($filename, \%settings); # Load good settings
}