Files
2026-10-23 08:04:42 -06:00

11 lines
395 B
Bash
Executable File

#!/bin/bash
source "$HOME/.local/share/MiniServer/utils.sh"
if initramfs_build_failed; then
echo -e "\e[31mDon't reboot yet: the initramfs failed to rebuild (see $PACMAN_UPDATE_LOG).\e[0m"
# If the running kernel's modules are gone, a newer kernel was installed
elif [ ! -d "/usr/lib/modules/$(uname -r)" ]; then
echo "A newer kernel has been installed. Please reboot when convenient."
fi