mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
fix perl path and firewall-lib missing ;
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/local/bin/perl
|
||||
# apply.cgi
|
||||
# Apply the current firewall configuration
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/local/bin/perl
|
||||
# bootup.cgi
|
||||
# Enable or disable iptables at boot time
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/local/bin/perl
|
||||
# Show hosts in firewall cluster
|
||||
|
||||
require './firewall-lib.pl';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/local/bin/perl
|
||||
# Remove some servers from the managed list
|
||||
|
||||
require './firewall-lib.pl';
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user