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

10 lines
145 B
Bash
Executable File

#!/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