mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Stop setting un-needed var to diable ACL checking
This commit is contained in:
@ -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 =~ /^(.*\/)[^\/]+$/) {
|
||||
|
@ -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 =~ /^(.*\/)[^\/]+$/) {
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
$main::no_acl_check++;
|
||||
our (%config);
|
||||
require 'system-status-lib.pl';
|
||||
my $zero = @ARGV ? $ARGV[0] : '';
|
||||
|
@ -5,7 +5,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
package system_status;
|
||||
$main::no_acl_check++;
|
||||
require './system-status-lib.pl';
|
||||
&scheduled_collect_system_info();
|
||||
|
||||
|
Reference in New Issue
Block a user