mirror of
https://github.com/alexreinert/homematic_check_mk.git
synced 2023-10-10 11:37:02 +00:00
introduced a wrapper script to either directly call an existing
'timeout' command (e.g. on RaspberryMatic) or to use shell syntax to replicate the same functionality just using shell functionality. This should hopefully solve any licensing issues between GPL and Apache2 license under which this check_mk_agent is licensed.
This commit is contained in:
@@ -8,12 +8,6 @@ RCDDIR=/usr/local/etc/config/rc.d
|
||||
case "$1" in
|
||||
|
||||
""|start)
|
||||
rm -f /usr/local/addons/${ADDONNAME}/timeout 2>/dev/null
|
||||
if [ "$(uname -m)" == "armv5tejl" ]; then
|
||||
ln -s /usr/local/addons/${ADDONNAME}/timeout-ccu2 /usr/local/addons/${ADDONNAME}/timeout
|
||||
else
|
||||
ln -s /usr/local/addons/${ADDONNAME}/timeout-ccu3 /usr/local/addons/${ADDONNAME}/timeout
|
||||
fi
|
||||
tclsh $ADDONDIR/server.tcl &
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user