mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Update remote-config
Update remote-config to first check in user defined remote.conf
This commit is contained in:
parent
4af5a0e133
commit
e72604cea3
@ -21,10 +21,10 @@
|
|||||||
lsusb -d 096e:0006 &> /dev/null
|
lsusb -d 096e:0006 &> /dev/null
|
||||||
LSUSB_RET=$?
|
LSUSB_RET=$?
|
||||||
|
|
||||||
if [ -f /etc/amremote/remote.conf ]; then
|
if [ -f /storage/.config/remote.conf ]; then
|
||||||
/usr/bin/remotecfg /etc/amremote/remote.conf
|
|
||||||
elif [ -f /storage/.config/remote.conf ]; then
|
|
||||||
/usr/bin/remotecfg /storage/.config/remote.conf
|
/usr/bin/remotecfg /storage/.config/remote.conf
|
||||||
|
elif [ -f /etc/amremote/remote.conf ]; then
|
||||||
|
/usr/bin/remotecfg /etc/amremote/remote.conf
|
||||||
elif [ "$LSUSB_RET" = 0 ]; then
|
elif [ "$LSUSB_RET" = 0 ]; then
|
||||||
/usr/bin/remotecfg /etc/amremote/wetek.conf
|
/usr/bin/remotecfg /etc/amremote/wetek.conf
|
||||||
elif [ "$LSUSB_RET" = 1 ]; then
|
elif [ "$LSUSB_RET" = 1 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user