From a11a266003041b923ea2c11d092e8950c96a999a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Wed, 8 Mar 2017 14:08:55 +0100 Subject: [PATCH] hmland.init: try hmland-location from Fhem-wiki, too --- debian/hmland.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/hmland.init b/debian/hmland.init index 229157b..a2bf4b6 100644 --- a/debian/hmland.init +++ b/debian/hmland.init @@ -22,6 +22,10 @@ DAEMON_ARGS="-d -P" # Arguments to run the daemon with PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME +if [ ! -x $DAEMON ]; then + DAEMON=/opt/hmcfgusb/$NAME #location from Fhem wiki... +fi + # Exit if the package is not installed [ -x $DAEMON ] || exit 0 -- 2.39.2