headers and cosmetics

This commit is contained in:
levasseur
2021-09-08 15:47:39 +02:00
parent 2a4e238264
commit cba7107878
20 changed files with 38 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
# ------------------------------------------------------------------------------
# Install check_mk agent using xinetd superserver
# This file is part of the init.sh project
# Copyright (c) 2019-2021 Geoffray Levasseur <fatalerrors@geoffray-levasseur.org>
# ------------------------------------------------------------------------------
# This file is distributed under 3-clause BSD license.
@@ -24,6 +25,10 @@ install_mkagent()
precheck_install_mkagent()
{
[[ -n $MKVERSION ]] && (
prnt E "Undeclared check_mk version of the agent to install."
die 162
)
[[ -n $MK_SERVER ]] && (
prnt E "Undeclared check_mk server."
die 162