From: Michael Gernoth Date: Wed, 8 Mar 2017 13:08:55 +0000 (+0100) Subject: hmland.init: try hmland-location from Fhem-wiki, too X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/a11a266003041b923ea2c11d092e8950c96a999a?ds=sidebyside;hp=df267f714bd67d7d452d757855feef3bb62cb133 hmland.init: try hmland-location from Fhem-wiki, too --- 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