From 42782b7f3d8f3a93fc396489adeda5ccb1a2167d Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Thu, 24 Mar 2022 17:57:58 +0100 Subject: [PATCH] evolinux-base: fix show_help in backup-server-state.sh * --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 --- CHANGELOG.md | 1 + evolinux-base/files/backup-server-state.sh | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a0941d..6500c19b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/evolinux-base/files/backup-server-state.sh b/evolinux-base/files/backup-server-state.sh index 3c42695d..bc0eedd7 100644 --- a/evolinux-base/files/backup-server-state.sh +++ b/evolinux-base/files/backup-server-state.sh @@ -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