e-smith-base/root/etc/e-smith/db/configuration/migrate/20NTPServer

13 lines
198 B
Plaintext
Raw Permalink Normal View History

{
my $ntp = $DB->get('NTPServer');
if (defined $ntp)
{
$DB->new_record('ntpd', {
type => 'service',
status => 'enabled',
NTPServer => $ntp->value,
});
$ntp->delete;
}
}