fix perl path and firewall-lib missing ;

This commit is contained in:
Kay Marquardt (Gnadelwartz)
2017-06-27 11:21:01 +02:00
parent 9646bd7a9b
commit fdde2a308c
7 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# apply.cgi
# Apply the current firewall configuration

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# bootup.cgi
# Enable or disable iptables at boot time

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Show hosts in firewall cluster
require './firewall-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Add or update a server or group from the webmin servers module
require './firewall-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Remove some servers from the managed list
require './firewall-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# convert.cgi
# Convert in-kernel firewall rules to the save file, and setup a bootup script

View File

@@ -11,14 +11,14 @@ use WebminCore;
sub set_ipvx_version
{
$ipvx_save=$iptables_save_file;
$ipvx_lib='firewall4-lib.pl'
$ipvx_lib='firewall4-lib.pl';
$ipv4_link='../firewall/';
$ipv6_link='../firewall6/';
$ipv4_active='active';
if ($_[0] =~ /6$/i) {
$ipvx='6';
$ipvx_save=$ip6tables_save_file;
$ipvx_lib='firewall6-lib.pl'
$ipvx_lib='firewall6-lib.pl';
$ipv4_active='';
$ipv6_active='active';
}