Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

od: Simplify MODEL query in gmenu2x.sh #144

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

glebm
Copy link

@glebm glebm commented Dec 11, 2023

/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 scripts.

`/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 OpenDingux#97 which did this for other script.

Signed-off-by: Gleb Mazovetskiy <[email protected]>
@pcercuei pcercuei merged commit e3e6e47 into OpenDingux:opendingux Mar 11, 2024
4 checks passed
@glebm glebm deleted the patch-2 branch March 11, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants