Skip to content
Snippets Groups Projects
Commit 723fb049 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add function ph.showImlHelpHeader

parent 5d3e958e
No related branches found
No related tags found
1 merge request!1286468 docs and harmonize
...@@ -521,6 +521,24 @@ function ph.execIfReady(){ ...@@ -521,6 +521,24 @@ function ph.execIfReady(){
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# show a header in the help for IML checks
ph.showImlHelpHeader(){
cat <<EOF
______________________________________________________________________
$( basename $0 | tr [:lower:] [:upper:] )
v$self_APPVERSION
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/$( basename $0 ).html
______________________________________________________________________
EOF
}
# ----------------------------------------------------------------------
# init # init
ph.setStatus "ok" ph.setStatus "ok"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment