mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3451 from chewitt/fix_dtfile
busybox: fix dtfile path error
This commit is contained in:
commit
4c1dcf43ef
@ -7,9 +7,9 @@ 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 extlinux.conf | sed 's, *FDT /dtb/,,g')
|
||||
DTFILE=$(grep FDT /flash/extlinux/extlinux.conf | sed 's, *FDT /dtb/,,g')
|
||||
elif [ -e /flash/boot.ini ]; then
|
||||
DTFILE=$(grep -m 1 dtb_name boot.ini | cut -d \" -f2 | sed 's,/dtb/,,g')
|
||||
DTFILE=$(grep -m 1 dtb_name /flash/boot.ini | cut -d \" -f2 | sed 's,/dtb/,,g')
|
||||
elif [ -e /flash/uEnv.ini ]; then
|
||||
DTFILE=$(grep dtb_name /flash/uEnv.ini | sed 's,dtb_name=/dtb/,,g')
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user