hmland.init: try hmland-location from Fhem-wiki, too
authorMichael Gernoth <michael@gernoth.net>
Wed, 8 Mar 2017 13:08:55 +0000 (14:08 +0100)
committerMichael Gernoth <michael@gernoth.net>
Wed, 8 Mar 2017 13:08:55 +0000 (14:08 +0100)
debian/hmland.init

index 229157b..a2bf4b6 100644 (file)
@@ -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
 
Impressum, Datenschutz