Files
webmin/system-status/postinstall.pl
2014-12-07 10:57:35 -08:00

17 lines
358 B
Perl
Executable File

use strict;
use warnings;
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");
}
}