evolinux-base: fix show_help in backup-server-state.sh
Some checks reported errors
continuous-integration/drone/push Build was killed

* --uname and --no-uname options were not in help
* --services and --no-services were in help whereas --systemctl and --no-systemctl are used in options parsing
This commit is contained in:
Jérémy Dubois 2022-03-24 17:57:58 +01:00
parent 1646cc99bf
commit 42782b7f3d
2 changed files with 6 additions and 3 deletions

View file

@ -26,6 +26,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* Repair keepalived role
* generate-ldif: Correct generated entries for php-fpm in containers
* redis: Remount /usr with RW before adding nagios plugin
* evolinux-base: fix show_help in backup-server-state.sh
### Removed

View file

@ -2,7 +2,7 @@
PROGNAME="backup-server-state"
VERSION="22.03.4"
VERSION="22.03.5"
readonly VERSION
backup_dir=
@ -46,6 +46,8 @@ Options
--no-packages no backup copy of dpkg selections
--processes backup copy of process list (default)
--no-processes no backup copy of process list
--uname backup copy of uname (default)
--no-uname no backup copy of uname
--uptime backup of uptime value (default)
--no-uptime no backup of uptime value
--netstat backup copy of netstat (default)
@ -70,8 +72,8 @@ Options
--no-dmesg no backup copy of dmesg
--mysql backup copy of mysql processes (default)
--no-mysql no backup copy of mysql processes
--services backup copy of services states (default)
--no-services no backup copy of services states
--systemctl backup copy of services states (default)
--no-systemctl no backup copy of services states
-v, --verbose print details about backup steps
-V, --version print version and exit
-h, --help print this message and exit