initial commit of file from CVS for e-smith-ntp on Wed 12 Jul 09:00:21 BST 2023
This commit is contained in:
8
root/etc/e-smith/db/configuration/migrate/30pool
Normal file
8
root/etc/e-smith/db/configuration/migrate/30pool
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
my $pool = $DB->get_prop('ntpd', 'NTPServer');
|
||||
return unless defined $pool;
|
||||
if ($pool eq 'pool.ntp.org')
|
||||
{
|
||||
$DB->set_prop('ntpd', 'NTPServer', 'smeserver.pool.ntp.org')
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user