From 1cdbeaef60dfb60470bbfdbf879be6e087b285cd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 14 May 2025 23:46:32 -0400 Subject: [PATCH] * Tue Mar 18 2025 Jean-Philippe Pialasse 11.0.0-9.sme - update config for Nut 2.8.2 [SME: 12657] TODO review master/slave mode TODO convert master/slave to primary/secondary TODO convert to new config data + migrate TODO event and action --- root/etc/e-smith/db/configuration/migrate/nutPass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/db/configuration/migrate/nutPass b/root/etc/e-smith/db/configuration/migrate/nutPass index 0951ee0..89a3096 100644 --- a/root/etc/e-smith/db/configuration/migrate/nutPass +++ b/root/etc/e-smith/db/configuration/migrate/nutPass @@ -2,7 +2,7 @@ use MIME::Base64 qw(encode_base64); my $nutrec = $DB->get('nut') || $DB->new_record('nut', {type => 'service'}); -  # migrate old + # migrate old $nutrec->set_prop('PrimaryPass',$DB->get_prop_and_delete('nut', MasterPass)) if (exists $nut{'MasterPass'}); $nutrec->set_prop('SecondaryPass',$DB->get_prop_and_delete('nut', SlavePass)) if (exists $nut{'SlavePass'});