Files
webmin/system-status/postinstall.pl
2022-06-30 13:08:38 +03:00

19 lines
411 B
Perl
Executable File

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require 'system-status-lib.pl';
our ($module_config_directory, $module_name);
sub module_install
{
# Create wrapper for system status setup script
if (&foreign_check("cron")) {
&foreign_require("cron");
&cron::create_wrapper("$module_config_directory/enable-collection.pl",
$module_name, "enable-collection.pl");
}
}