Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
od: Simplify MODEL query in gmenu2x.sh
`/sys/firmware/devicetree/base/compatible` is `\0`-delimited. Instead of relying on `\0`-removal and stripping the `ingenic.*` suffix, simply read the string up to the first `\0`. Follow-up to #97 which did this for other script. Signed-off-by: Gleb Mazovetskiy <[email protected]>
- Loading branch information