This PR is a minor refactor that makes shellcheck happy about the scripts. Better be safe than sorry when using bash to work with configuring hardware, right?
I've grouped changes into individual commits so that it's easier to see what's been changed and/or cherry-pick them. There are also links to shellcheck wiki in commit bodies.
This PR is a minor refactor that makes
shellcheck
happy about the scripts. Better be safe than sorry when using bash to work with configuring hardware, right?I've grouped changes into individual commits so that it's easier to see what's been changed and/or cherry-pick them. There are also links to shellcheck wiki in commit bodies.
Tested the branch on my own hardware.