1
0
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:
Jens Maus
2019-01-22 10:15:15 +01:00
parent b68676e1bc
commit fcc773bd0d
5 changed files with 59 additions and 12 deletions

View File

@@ -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 &
;;