e-smith-base/root/etc/e-smith/db/configuration/migrate/smartd

13 lines
292 B
Plaintext
Raw Permalink Normal View History

{
# set status as enabled starting SME10
# remove the -m option from the property email
my $email = $DB->get_prop('smartd','email') or return;
if ($email =~ /^-m (.*)$/)
{
$DB->set_prop('smartd','email', $1);
$DB->set_prop('smartd','status', 'enabled');
}
}