projects/Amlogic: remote-config: also support k-series remote

This commit is contained in:
afl1 2018-01-04 21:05:41 +00:00 committed by Adam Green
parent 2a68e8caab
commit 2af1e568e2
No known key found for this signature in database
GPG Key ID: 52B701B6EF2F2E58

View File

@ -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