Stop setting un-needed var to diable ACL checking

This commit is contained in:
Jamie Cameron
2015-01-26 20:04:38 -08:00
parent bae3f5e77b
commit 99e1eda954
4 changed files with 2 additions and 6 deletions

View File

@ -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 =~ /^(.*\/)[^\/]+$/) {

View File

@ -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 =~ /^(.*\/)[^\/]+$/) {

View File

@ -3,7 +3,6 @@
use strict;
use warnings;
$main::no_acl_check++;
our (%config);
require 'system-status-lib.pl';
my $zero = @ARGV ? $ARGV[0] : '';

View File

@ -5,7 +5,6 @@
use strict;
use warnings;
package system_status;
$main::no_acl_check++;
require './system-status-lib.pl';
&scheduled_collect_system_info();