summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot1
-rwxr-xr-xdata/live-build-config/hooks/live/22-rm_cron_atop.chroot6
2 files changed, 7 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index ee3b38bf..a67d8c2e 100755
--- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
@@ -51,6 +51,7 @@ systemctl disable ndppd.service
systemctl disable ipsec.service
systemctl disable strongswan-starter.service
systemctl disable avahi-daemon.service
+systemctl disable atop-rotate.timer
echo I: Enabling services
systemctl enable ssh-session-cleanup.service
diff --git a/data/live-build-config/hooks/live/22-rm_cron_atop.chroot b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot
new file mode 100755
index 00000000..7f77e1f7
--- /dev/null
+++ b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ -f /etc/cron.d/atop ]; then
+ rm -f /etc/cron.d/atop
+fi
+