Fixed installation on original CCU2

This commit is contained in:
Alexander Reinert 2018-01-08 09:06:56 +01:00
parent 51efc44e6b
commit 5fd140ea24
2 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ case "$1" in
info)
echo "Info: <b>(Inoffical) check_mk agent</b>"
echo "Version: 1.2"
echo "Version: 1.3"
echo "Name: check_mk_agent"
echo "Operations: uninstall restart"
;;

View File

@ -5,6 +5,8 @@ CONFIG_DIR=/usr/local/etc/config
ADDON_DIR=/usr/local/addons/${ADDONNAME}
RCD_DIR=${CONFIG_DIR}/rc.d
mount /usr/local || true
# create necessary directories
mkdir -p ${ADDON_DIR}
chmod 755 ${ADDON_DIR}