packages/sysutils/amremote: Check first for remote.conf in /etc/amremote/

This commit is contained in:
Alex Deryskyba 2015-03-27 23:26:34 +01:00
parent 28555d8204
commit 7bb41943bf

View File

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