chromebook-linux/unsafe-update-payload.sh
2025-06-07 19:00:54 -05:00

12 lines
232 B
Bash

function unsafeUpdate() {
# Handle system updates.
apt-get update
apt-get -fy upgrade
apt-get -fy dist-upgrade
apt-get -fy autoremove
if [[ -f /var/run/reboot-required ]] then
shutdown -r now
fi
# Additional updates.
}