initial commit of file from CVS for e-smith-nutUPS on Wed 12 Jul 09:01:20 BST 2023
This commit is contained in:
6
root/etc/e-smith/db/configuration/migrate/nutModel
Normal file
6
root/etc/e-smith/db/configuration/migrate/nutModel
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
my $nutmod = $DB->get_prop('nut', 'Model');
|
||||
return unless $nutmod;
|
||||
$DB->set_prop('nut', 'Model', 'usbhid-ups') if ($nutmod eq 'newhidups');
|
||||
}
|
||||
|
Reference in New Issue
Block a user