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.
This commit is contained in:
Marcos Mello 2020-03-08 08:55:01 -03:00
parent 84906f7bec
commit 9e5d364847

View file

@ -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