From 587160c33261a7a89bae19629c24ff103e7aedc8 Mon Sep 17 00:00:00 2001 From: Martin <martin.gasser@protonmail.com> Date: Thu, 7 Mar 2024 16:52:56 +0100 Subject: [PATCH] check reboot required for rocky --- check_reboot_required | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_reboot_required b/check_reboot_required index a31f45e..423ea64 100755 --- a/check_reboot_required +++ b/check_reboot_required @@ -14,6 +14,7 @@ # 2022-10-14 v1.3 <axel.hahn@unibe.ch> fix debian output if /var/run/reboot-required.pkgs does not exist # Shellfixes; add help # 2023-03-29 v1.4 <martin.gasser@unibe.ch> add almalinux as distro +# 2024-03-7 v1.4 <martin.gasser@unibe.ch> add rocky as distro # ====================================================================== @@ -75,7 +76,7 @@ esac case $distro in - "centos"|"almalinux") + "centos"|"almalinux"|"rocky") currentkernel=$(uname -r) out=$(rpm -q --last kernel | head -1 | grep -F $currentkernel) if [ -z "$out" ]; then -- GitLab