mirror of
https://github.com/webmin/webmin.git
synced 2026-08-08 08:40:39 +01:00
13 lines
303 B
Perl
Executable File
13 lines
303 B
Perl
Executable File
#!/usr/bin/perl
|
|
# isboot.pl
|
|
# Called by setup.sh to check if given service is enabled
|
|
|
|
$no_acl_check++;
|
|
require './init-lib.pl';
|
|
$product = $ARGV[0] || "webmin";
|
|
# Is enabled and system supports systemd
|
|
if (&action_status($product) == 2 &&
|
|
$init_mode eq "systemd") {
|
|
&enable_at_boot($product);
|
|
};
|