Merge pull request #550 from eldingraho/patch-1

Update remote-config
This commit is contained in:
Lukas Rusak 2016-07-19 16:55:15 -07:00 committed by GitHub
commit 4c096bd525

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