initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023
This commit is contained in:
12
root/etc/e-smith/db/configuration/migrate/smartd
Normal file
12
root/etc/e-smith/db/configuration/migrate/smartd
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
# 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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user