mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
busybox: fix dtfile helper script
This commit is contained in:
parent
96ac2d0812
commit
da9d8fcb8b
@ -7,7 +7,7 @@ COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed -
|
||||
|
||||
if [ -n "$COMPATIBLE" ]; then
|
||||
if [ -e /flash/extlinux/extlinux.conf ]; then
|
||||
DTFILE=$(grep FDT /flash/extlinux/extlinux.conf | sed 's, *FDT /dtb/,,g')
|
||||
DTFILE=$(grep FDT /flash/extlinux/extlinux.conf | sed 's, *FDT /,,g')
|
||||
elif [ -e /flash/boot.ini ]; then
|
||||
DTFILE=$(grep -m 1 dtb_name /flash/boot.ini | cut -d \" -f2 | sed 's,/dtb/,,g')
|
||||
elif [ -e /flash/uEnv.ini ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user