mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
intel: fixup full range script
This commit is contained in:
parent
36f160e800
commit
5865f95f0b
2
projects/Generic/filesystem/usr/bin/intel-fullrange.sh
Normal file → Executable file
2
projects/Generic/filesystem/usr/bin/intel-fullrange.sh
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
FB_TYPE="$(grep '^0 ' /proc/fb | sed 's/[^[:space:]] //')"
|
||||
|
||||
if [ "$FB_TYPE" == "inteldrmfb" ]; then
|
||||
if [ "$FB_TYPE" == "inteldrmfb" ] || echo "$FB_TYPE" | grep -q "^i9[0-9]*drmfb$"; then
|
||||
OUTPUT=`/usr/bin/xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
|
||||
for out in $OUTPUT ; do
|
||||
# Hack - something is not yet fully right
|
||||
|
Loading…
x
Reference in New Issue
Block a user