base-files: board_detect: Address shellcheck warnings
authorAndreas Gnau <[email protected]>
Wed, 8 Oct 2025 21:09:26 +0000 (23:09 +0200)
committerHauke Mehrtens <[email protected]>
Tue, 25 Nov 2025 20:51:25 +0000 (21:51 +0100)
commitcac609aca8f309c6081f90d6d4475e57c738e315
treea7b035cb73c58e8fd3974f27c30435ab48c00501
parent0337cdfb3370b6cd439b1bcaa7427523f2288cb1
base-files: board_detect: Address shellcheck warnings

 * SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well
   defined.
 * SC2086 (info): Double quote to prevent globbing and word splitting.
 * SC2091 (warning): Remove surrounding $() to avoid executing output
   (or use eval if intentional).

Signed-off-by: Andreas Gnau <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20831
Signed-off-by: Hauke Mehrtens <[email protected]>
package/base-files/files/bin/board_detect