Update remote-config

Update remote-config to first check in user defined remote.conf
This commit is contained in:
Eldin 2016-07-20 01:14:09 +02:00 committed by GitHub
parent 4af5a0e133
commit e72604cea3

View File

@ -21,10 +21,10 @@
lsusb -d 096e:0006 &> /dev/null
LSUSB_RET=$?
if [ -f /etc/amremote/remote.conf ]; then
/usr/bin/remotecfg /etc/amremote/remote.conf
elif [ -f /storage/.config/remote.conf ]; then
if [ -f /storage/.config/remote.conf ]; then
/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
/usr/bin/remotecfg /etc/amremote/wetek.conf
elif [ "$LSUSB_RET" = 1 ]; then