dev01d / reboot-required

Checks for the need to reboot on Ubuntu and Red Hat-based systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reboot required

This program checks for the need to reboot on Ubuntu and Red Hat-based systems. If there are any updates applied to the kernel, it lets you know if a reboot is required.

By default it only tells you if a reboot is required or not. The verbose mode displays all packages causing the required reboot.

Usage

Usage: rr [OPTIONS]

-h, --help                Show this help
-v, --verbose             Packages causing the need to reboot
    --version             Print version

Install

  • Homebrew:
brew install dev01d/tap/reboot-required
  • Apt
curl -fsSL https://dev01d.fury.site/apt/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/dev01d.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/dev01d.gpg] \
 https://dev01d.fury.site/apt/ * *" \
| sudo tee -a /etc/apt/sources.list.d/dev01d.list > /dev/null
sudo apt-get update; sudo apt install reboot-required
  • Yum
sudo echo """\
[fury]
name=dev01d repo
baseurl=https://dev01d.fury.site/yum/
enabled=1
gpgcheck=0
""" > /etc/yum.repos.d/dev01d.repo

yum install reboot-required

About

Checks for the need to reboot on Ubuntu and Red Hat-based systems.


Languages

Language:Go 100.0%