| Line 6... |
Line 6... |
| 6 |
close(CONF);
|
6 |
close(CONF);
|
| 7 |
$root || die "No root= line found in /etc/webmin/miniserv.conf";
|
7 |
$root || die "No root= line found in /etc/webmin/miniserv.conf";
|
| 8 |
$ENV{'PERLLIB'} = "$root";
|
8 |
$ENV{'PERLLIB'} = "$root";
|
| 9 |
$ENV{'WEBMIN_CONFIG'} = "/etc/webmin";
|
9 |
$ENV{'WEBMIN_CONFIG'} = "/etc/webmin";
|
| 10 |
$ENV{'WEBMIN_VAR'} = "/var/webmin";
|
10 |
$ENV{'WEBMIN_VAR'} = "/var/webmin";
|
| - |
|
11 |
delete($ENV{'MINISERV_CONFIG'});
|
| 11 |
chdir("$root/system-status");
|
12 |
chdir("$root/system-status");
|
| 12 |
exec("$root/system-status/enable-collection.pl", @ARGV) || die "Failed to run $root/system-status/enable-collection.pl : $!";
|
13 |
exec("$root/system-status/enable-collection.pl", @ARGV) || die "Failed to run $root/system-status/enable-collection.pl : $!";
|