# Check Reboot required ## Introduction Check if a reboot is required. It works for Centos and Debian/ Ubuntu. If the reboot is required: * On Centos it shows the kernel number that will be installed, * On Debian/ Ubuntu it shows the packages that require the reboot, ## Syntax `$ check_reboot_required [-h]` ### Parameters ```text OPTIONS: -h or --help show this help. PARAMETERS: None ``` ## Examples ### No reboot needed ```txt ./check_reboot_required OK: [centos] no reboot required (kernel is up to date: 4.18.0-500.el8.x86_64) ``` ### Reboot needed On CentOs we check an updated kernel ```txt ./check_reboot_required WARNING: [centos] need to reboot for kernel package kernel is not installed (current: 4.18.0-193.el8.x86_64) ``` ### Not supported OS: unknown ```txt ./check_reboot_required UNKNOWN: distro [manjaro] was detected but is not supported (yet). ```