From 9e5d3648473c3b9f377a2d983f1f525fdcee1e4e Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Sun, 8 Mar 2020 08:55:01 -0300 Subject: [PATCH] Disable not useful timer units systemctl disable is not enough because these units are enabled via symlinks in /usr/lib/systemd/system/xxx.wants/ directory. --- airootfs/root/customize_airootfs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh index 3c50709..44c1d15 100755 --- a/airootfs/root/customize_airootfs.sh +++ b/airootfs/root/customize_airootfs.sh @@ -26,7 +26,7 @@ sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf # Services -systemctl enable NetworkManager +systemctl enable NetworkManager.service systemctl enable iptables.service systemctl enable ip6tables.service systemctl enable pacman-init.service @@ -36,6 +36,9 @@ systemctl enable sysresccd-initialize.service systemctl enable sysresccd-autorun.service systemctl set-default multi-user.target +systemctl mask atop-rotate.timer +systemctl mask shadow.timer + # Provide additional commands (using busybox instead of binutils to save space) ln -f -s /usr/bin/busybox /usr/bin/ar ln -f -s /usr/bin/busybox /usr/bin/strings