]> git.zerfleddert.de Git - hmcfgusb/commitdiff
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 229157bb7cc2bc7e34ca5608f8b4a97bc7ecffbe..a2bf4b6c6e39bc59ae903d3bf69e00cbd5a6fe90 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
 
 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
 
 # Exit if the package is not installed
 [ -x $DAEMON ] || exit 0
 
Impressum, Datenschutz