mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-20 15:40:47 +01:00
Merge branch 'mask-timers' into 'master'
Disable not useful timer units See merge request fdupoux/sysresccd-src!17
This commit is contained in:
commit
7e38eb7e2b
|
|
@ -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…
Reference in a new issue