Added "apt autoremove"

This commit is contained in:
Markus Fleschutz 2020-09-08 16:06:39 +00:00
parent 6d512c65fd
commit b07fb304e9

View File

@ -17,8 +17,7 @@ zpool list
zpool status zpool status
echo "\n+++ Checking Updates +++" echo "\n+++ Checking Updates +++"
apt update && apt upgrade apt update && apt upgrade && apt autoremove && snap refresh
snap refresh
echo "\n+++ Cleaning Swap Space +++" echo "\n+++ Cleaning Swap Space +++"
swapoff --all && swapon --all swapoff --all && swapon --all