Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dev01d/reboot-required
Checks for the need to reboot on Ubuntu and Red Hat-based systems.
https://github.com/dev01d/reboot-required
debian redhat ubuntu
Last synced: about 2 months ago
JSON representation
Checks for the need to reboot on Ubuntu and Red Hat-based systems.
- Host: GitHub
- URL: https://github.com/dev01d/reboot-required
- Owner: dev01d
- Created: 2024-09-10T00:20:36.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T02:03:20.000Z (2 months ago)
- Last Synced: 2024-10-29T03:17:15.669Z (2 months ago)
- Topics: debian, redhat, ubuntu
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/readme.md
Awesome Lists containing this project
README
# 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
```bash
Usage: rr [OPTIONS]-h, --help Show this help
-v, --verbose Packages causing the need to reboot
--version Print version
```## Install
- Homebrew:
```shell
brew install dev01d/tap/reboot-required
```- Apt
```shell
curl -fsSL https://dev01d.fury.site/apt/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/dev01d.gpg
``````bash
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
``````bash
sudo apt-get update; sudo apt install reboot-required
```- Yum
```shell
sudo echo """\
[fury]
name=dev01d repo
baseurl=https://dev01d.fury.site/yum/
enabled=1
gpgcheck=0
""" > /etc/yum.repos.d/dev01d.repoyum install reboot-required
```