X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/53dbc699f936e7025e7f8d3dad18f62216e3c734..a11a266003041b923ea2c11d092e8950c96a999a:/debian/hmland.init 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