From db5886c93b4c7be0ff103720dc2f4cd7e9ee61c6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 7 Feb 2023 21:36:19 -0700 Subject: [PATCH] fix --- debian.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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