smeserver-ntp/root/etc/e-smith/db/configuration/migrate/30pool

9 lines
200 B
Plaintext

{
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')
}
}