LegacyTechops/archive/slack/ts-base-ovh/files/usr/local/bin/upAndRoll.sh

10 lines
145 B
Bash
Raw Normal View History

#!/bin/bash
apt-get update
apt-get -y --purge autoremove
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get -y --purge autoremove
/sbin/reboot