From 4071009728b2a45d96eca71b3d96a9d1ec09e546 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 22 Jan 2024 04:20:45 -0700 Subject: [PATCH] Update telemetry disablement Signed-off-by: Tommy --- Ubuntu-22.04-Server.sh | 2 +- Ubuntu-23.10-Desktop.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Ubuntu-22.04-Server.sh b/Ubuntu-22.04-Server.sh index a480c3f..deeab2a 100644 --- a/Ubuntu-22.04-Server.sh +++ b/Ubuntu-22.04-Server.sh @@ -86,7 +86,7 @@ if [ ! -d /boot/efi/EFI/ZBM ]; then fi # Disable telemetry -sudo systemctl stop apport.service +sudo systemctl stop --now apport.service sudo systemctl disable apport.service sudo systemctl mask apport.service diff --git a/Ubuntu-23.10-Desktop.sh b/Ubuntu-23.10-Desktop.sh index 55f2ae7..f859f07 100644 --- a/Ubuntu-23.10-Desktop.sh +++ b/Ubuntu-23.10-Desktop.sh @@ -108,11 +108,13 @@ umask 077 ubuntu-report -f send no sudo systemctl stop apport.service -sudo systemctl disable apport.service +sudo systemctl disable --now apport.service sudo systemctl mask apport.service -sudo systemctl stop whoopsie.service +sudo systemctl stop --now whoopsie.service sudo systemctl disable whoopsie.service sudo systemctl mask whoopsie.service +sudo systemctl disable whoopsie.path +sudo systemctl mask whoopsie.path # Update packages and firmware sudo apt update -y