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

reboot: update markdown help

parent c9022a9d
No related branches found
No related tags found
1 merge request!295Simple task/7546 icinga check für ablaufende gitlab tokens
......@@ -20,16 +20,45 @@ From this repository ypu need next to this script:
`$ check_reboot_required [-h]`
### Parameters
```txt
______________________________________________________________________
CHECK_REBOOT_REQUIRED
v1.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_reboot_required.html
______________________________________________________________________
Check if a reboot is required.
It works for Centos and Debian/ Ubuntu and Manjaro
If the reboot is required:
* On Centos it shows the kernel number that will be installed,
* On Debian/ Ubuntu it shows the packages that require the reboot,
* On Manjaro it shows if a newer kernel or which libs require the reboot.
The check for libs uses lsof.
If your distro is based on Arch, Centos or Debian then it easily can be added
in the script if it does not work. Report the distro name to the author.
SYNTAX:
check_reboot_required
```text
OPTIONS:
-h or --help show this help.
PARAMETERS:
None
None.
EXAMPLE:
check_reboot_required
```
## Examples
......@@ -54,5 +83,6 @@ WARNING: [centos] need to reboot for kernel package kernel is not installed (c
```txt
./check_reboot_required
UNKNOWN: distro [manjaro] was detected but is not supported (yet).
UNKNOWN: distro [otherlinux] was detected but is not supported (yet).
If your distro is based on Arch, Centos or Debian then it easily can be added in the script. Report the distro name to the author.
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment