diff --git a/init/create-boot.pl b/init/create-boot.pl index 478492a16..e9c90a0c8 100755 --- a/init/create-boot.pl +++ b/init/create-boot.pl @@ -1,8 +1,7 @@ #!/usr/local/bin/perl # Creates some boot-time action -package server_manager; -$main::no_acl_check++; +package init; $ENV{'WEBMIN_CONFIG'} ||= "/etc/webmin"; $ENV{'WEBMIN_VAR'} ||= "/var/webmin"; if ($0 =~ /^(.*\/)[^\/]+$/) { diff --git a/init/delete-boot.pl b/init/delete-boot.pl index c8dd929af..1655a2159 100755 --- a/init/delete-boot.pl +++ b/init/delete-boot.pl @@ -1,8 +1,7 @@ #!/usr/local/bin/perl # Disable some boot-time action -package server_manager; -$main::no_acl_check++; +package init; $ENV{'WEBMIN_CONFIG'} ||= "/etc/webmin"; $ENV{'WEBMIN_VAR'} ||= "/var/webmin"; if ($0 =~ /^(.*\/)[^\/]+$/) { diff --git a/system-status/enable-collection.pl b/system-status/enable-collection.pl index 203f4f5ca..90d5e2a9d 100755 --- a/system-status/enable-collection.pl +++ b/system-status/enable-collection.pl @@ -3,7 +3,6 @@ use strict; use warnings; -$main::no_acl_check++; our (%config); require 'system-status-lib.pl'; my $zero = @ARGV ? $ARGV[0] : ''; diff --git a/system-status/systeminfo.pl b/system-status/systeminfo.pl index b100003ac..ec0e1f862 100755 --- a/system-status/systeminfo.pl +++ b/system-status/systeminfo.pl @@ -5,7 +5,6 @@ use strict; use warnings; package system_status; -$main::no_acl_check++; require './system-status-lib.pl'; &scheduled_collect_system_info();