Merge pull request #552 from CvH/remote_7

Backport of #550
This commit is contained in:
Christian Hewitt 2016-07-20 21:37:39 +04:00 committed by GitHub
commit 3f2afd2f82

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