diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 94defae..2b9faf4 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -216,7 +216,6 @@ if [ $isInFile -eq 0 ] echo "APT::Periodic::Unattended-Upgrade \"1\";" >> /etc/apt/apt.conf.d/20auto-upgrades systemctl enable unattended-upgrades systemctl start unattended-upgrades - systemctl status unattended-upgrades else echo "Unattended upgrades already configured." fi @@ -255,6 +254,7 @@ fi if [[ -d /home/akanealw ]] then passwd -l root + exit else echo "akanealw account not found, not locking root." fi