Skip to content
Snippets Groups Projects
Commit 952b7a01 authored by Gasser Martin (mg20u947)'s avatar Gasser Martin (mg20u947)
Browse files

Merge branch 'OS-almalinux' into 'master'

add almalinux in check_reboot

See merge request !62
parents 87028ede eba4a28a
Branches
No related tags found
1 merge request!62add almalinux in check_reboot
......@@ -13,6 +13,7 @@
# 2020-03-05 v1.2 <axel.hahn@iml.unibe.ch> switch to ph.* helper functions
# 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
# ======================================================================
......@@ -74,7 +75,7 @@ esac
case $distro in
"centos")
"centos"|"almalinux")
currentkernel=$(uname -r)
out=$(rpm -q --last kernel | head -1 | grep -F $currentkernel)
if [ -z "$out" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment