nut: add linting and fix whitespace and typos
authorDaniel F. Dickinson <redacted>
Sun, 11 Jan 2026 10:36:43 +0000 (05:36 -0500)
committerMichael Heimpold <redacted>
Tue, 3 Mar 2026 18:53:14 +0000 (19:53 +0100)
commit7eafd0ada63825d560b8ea6ef3dd9230926e5e57
treedb7469aff7c89eedf4982f0377ccce87b7f5a515
parent14e0e9e73753e2f23260edb2fd4994f68a68cdea
nut: add linting and fix whitespace and typos

shellcheck is a useful linter if a bit pedantic and overzealous so
add overrides to silence false positives

Also, fix issues found by the linting.

* misspelling meant initscript could skip updating configuration in
  certain circumstances
* minor: assignment of the result of execution as the time of creating
  local. This has been separated.

Fix whitespace and comment typos
Fix typo in Config.in option text
* This is cosmetic, but user-facing (for users building via SDK or
  buildroot).

Signed-off-by: Daniel F. Dickinson <redacted>
net/nut/Config.in
net/nut/files/nut-server.init
git clone https://git.99rst.org/PROJECT