diff --git a/debian.sh b/debian.sh index af062f7..8657e62 100755 --- a/debian.sh +++ b/debian.sh @@ -182,14 +182,12 @@ apt-tweaks(){ } desktop(){ - systemctl disable --now exim4 - systemctl disable --now cockpit.socket - systemctl disable --now redis-server - systemctl disable --now apparmor - systemctl disable --now nfs-server - systemctl disable --now smbd - systemctl disable --now rpbind - systemctl disable --now bluetooth + SERVICES+=( exim4 cockpit.socket redis-server apparmor nfs-server smbd rpbind rpcbind.socket avahi-daemon bluetooth minidlna openvpn); + for i in "${SERVICES[@]}" + do + systemctl disable --now $i + done + apt -y purge apparmor apt remove unattended-upgrades chromium chromium-common chromium-sandbox epiphany-browser epiphany-browser-data -y apt autoremove -y