e-smith-oidentd/root/etc/e-smith/db/configuration/migrate/20Auth

11 lines
220 B
Plaintext
Raw Permalink Normal View History

{
my $auth = $DB->get('auth');
my $oidentd = $DB->get('oidentd');
if ($auth)
{
$oidentd ||= $DB->new_record('oidentd', {type => 'service'});
$oidentd->merge_props($auth->props);
$auth->delete;
}
}