apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt clean -y && apt-get autoremove -y
if [ -a /run/reboot-required ] 
then
reboot
else
echo "No Reboot Required"
fi