Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -e
- sudo apt update
- sudo apt full-upgrade
- sudo apt autoremove
- sudo apt clean
- sudo apt autoclean -y
- if RESULT=$(echo "$OUTPUT" | grep "Rebooted")
- then
- sudo apt reboot
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement