smeserver-lemonldap-ng/root/etc/e-smith/db/configuration/migrate/lemonldap-enable-mod_perl

13 lines
271 B
Plaintext
Raw Normal View History

{
my $mp = $DB->get('modPerl') || $DB->new_record("modPerl", { type => "service", status => "enabled" });
if ( ($mp->prop('status') || 'disabled') eq 'enabled'){
return "";
}
else{
$DB->set_prop('modPerl', 'status', 'enabled');
}
}