From 099cd0e39193585dc43dc8116f1c33d4d24e0b75 Mon Sep 17 00:00:00 2001 From: betateilchen Date: Tue, 23 Sep 2014 20:21:21 +0000 Subject: [PATCH] contrib/init-scripts/fhem.3: added examples for configDB and hmland (#27277) git-svn-id: https://svn.fhem.de/fhem/trunk@6606 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/init-scripts/fhem.3 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/fhem/contrib/init-scripts/fhem.3 b/fhem/contrib/init-scripts/fhem.3 index 2e0d75b03..9288b2cad 100644 --- a/fhem/contrib/init-scripts/fhem.3 +++ b/fhem/contrib/init-scripts/fhem.3 @@ -17,12 +17,34 @@ port=7072 case "$1" in 'start') + echo "Starting fhem..." + +# if you need to start hmland for use with +# Homematic, please start the hmland daemon +# like this (please use correct path and port, +# depending on your installation!) +# +# /opt/hmcfgusb/hmland -d -p 1234 -r 0 +# + perl fhem.pl fhem.cfg + +# if you want to use configDB for configuration, +# use this command to start fhem: +# +# perl fhem.pl configDB +# +# and remove/comment the above line including fhem.cfg + RETVAL=$? ;; 'stop') echo "Stopping fhem..." + +# if you want to stop hmland during fhem stop: +# pkill hmland + perl fhem.pl $port "shutdown" RETVAL=$? ;;