Fixed installation on original CCU2
This commit is contained in:
parent
51efc44e6b
commit
5fd140ea24
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue