* Wed Apr 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme

- update package for ntpsec [SME: 12590]
This commit is contained in:
2024-04-17 14:55:55 -04:00
parent 63e4669589
commit 42c535335d
8 changed files with 7 additions and 48 deletions

View File

@@ -1,19 +0,0 @@
{
my $NTPenabled = $ntpd{'status'} || 'disabled';
my $server = $ntpd{NTPServer} || '';
if ($NTPenabled eq 'enabled')
{
if ($server =~ /pool.ntp.org/)
{
$OUT .= "0.$server";
}
else
{
$OUT .= "$server";
}
}
else
{
$OUT .= "# ntpd service is disabled";
}
}

View File

@@ -1,5 +0,0 @@
{
my $timezone = $TimeZone || "US/Eastern";
$OUT .= "ZONE=\"$timezone\"";
}

View File

@@ -1,3 +0,0 @@
{
$OUT .= "UTC=true";
}

View File

@@ -1,3 +0,0 @@
{
$OUT .= "ARC=false";
}