initial commit of file from CVS for e-smith-oidentd on Wed 12 Jul 09:01:42 BST 2023
This commit is contained in:
10
root/etc/e-smith/db/configuration/migrate/20Auth
Normal file
10
root/etc/e-smith/db/configuration/migrate/20Auth
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user