From 2af1e568e2c4f5a63f2d03cc2c9dc6bf0301a35e Mon Sep 17 00:00:00 2001 From: afl1 Date: Thu, 4 Jan 2018 21:05:41 +0000 Subject: [PATCH] projects/Amlogic: remote-config: also support k-series remote --- projects/Amlogic/filesystem/usr/lib/libreelec/remote-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Amlogic/filesystem/usr/lib/libreelec/remote-config b/projects/Amlogic/filesystem/usr/lib/libreelec/remote-config index 7411760563..8229361b30 100755 --- a/projects/Amlogic/filesystem/usr/lib/libreelec/remote-config +++ b/projects/Amlogic/filesystem/usr/lib/libreelec/remote-config @@ -27,7 +27,7 @@ if [ -f /storage/.config/remote.conf ]; then elif [ -f /flash/remote.conf ]; then SOURCEREMOTECONF="/flash" REMAP="yes" -elif [ -f /etc/amremote/remote.conf ]; then +elif [ -f /etc/amremote/remote.conf -a "$(cat /proc/device-tree/dvbfe/dtv_demod0 2>/dev/null)" = "Avl6211" ]; then SOURCEREMOTECONF="/etc/amremote" elif ! grep -q /dev/system /proc/mounts ; then mount -o rw,remount /flash