* Sun May 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme

- add pollinterval setting [SME: 13006]
- update config for Nut 2.8.2 [SME: 12657]
This commit is contained in:
2025-05-18 01:01:00 -04:00
parent 21fed495e6
commit e235701fe2
3 changed files with 14 additions and 6 deletions

View File

@@ -1,4 +1,9 @@
{
my $poll = $nut{pollInterval} || '2';
if ($poll ne '2') {
$OUT .= "pollinterval = $poll\n";
}
my @upses = grep(/^nut-driver\@[a-zA-Z0-9_-]+$/, $DB->keys);
foreach my $ups ( sort {$a cmp $b} @upses )
{