8 lines
216 B
Plaintext
8 lines
216 B
Plaintext
{
|
|
my $ntpd = $DB->get('ntpd');
|
|
return unless $ntpd;
|
|
return if $ntpd->prop('SyncToHWClockSupported');
|
|
|
|
$ntpd->set_prop('status', 'enabled') unless ($ntpd->prop('status') || 'disabled') eq 'enabled';
|
|
}
|