mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
19 lines
411 B
Perl
Executable File
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");
|
|
}
|
|
}
|
|
|