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