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

9 lines
200 B
Plaintext
Raw Normal View History

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