diff --git a/board/opendingux/package/gmenu2x/gmenu2x.sh b/board/opendingux/package/gmenu2x/gmenu2x.sh index 97691c78471b..59aa9a47f6f6 100644 --- a/board/opendingux/package/gmenu2x/gmenu2x.sh +++ b/board/opendingux/package/gmenu2x/gmenu2x.sh @@ -2,7 +2,7 @@ PLATFORMS=$(sed -n 's/^opkPlatforms="\(.*\)"$/\1/p' /usr/share/gmenu2x/gmenu2x.conf) -MODEL=$(sed -n 's/.*,\(.*\)ingenic.*/\1/p' /sys/firmware/devicetree/base/compatible) +IFS= read -r -d $'\0' MODEL