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 committed by Stephan Raue
parent 3ed4a1e5a5
commit e4fb30cee9

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