mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-21 06:03:41 +00:00
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:
parent
84906f7bec
commit
9e5d364847
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue