diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-01-14 20:43:50 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-01-14 20:43:50 +0000 |
commit | 1374edd7aa42f7e4abd38c01abac15e10915d17f (patch) | |
tree | fc71b8b26a462ad325ccef175686f8d2842aa1a5 | |
parent | 8b55776e3f6e431628b54a59a6e358052bd3a023 (diff) | |
download | draklive-config-1374edd7aa42f7e4abd38c01abac15e10915d17f.tar draklive-config-1374edd7aa42f7e4abd38c01abac15e10915d17f.tar.gz draklive-config-1374edd7aa42f7e4abd38c01abac15e10915d17f.tar.bz2 draklive-config-1374edd7aa42f7e4abd38c01abac15e10915d17f.tar.xz draklive-config-1374edd7aa42f7e4abd38c01abac15e10915d17f.zip |
live.cfg: disable automatic startup of cups services and hplip systray applet.
Speeds up boot and reduces memory footprint.
-rw-r--r-- | config/live.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/live.cfg b/config/live.cfg index 33e3478..1509992 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -217,10 +217,16 @@ my $_l = { "urpmi.addmedia 'Live Core' /var/local/mga_rpms/core with media_info/hdlist.cz", "urpmi.addmedia 'Live Nonfree' /var/local/mga_rpms/nonfree with media_info/hdlist.cz", + # TODO: fix draklive so we can use the disable_services section for this # disable dnf-makecache - it uses too much memory in a Live system - # TBD: fix draklive so we can use the disable_services section for this "systemctl disable dnf-makecache.service", "systemctl disable dnf-makecache.timer", + # disable cups server - it slows down boot + "systemctl disable cups.service", + "systemctl disable cups-browsed.service", + + # disable HPLIP systray startup + "echo 'Hidden=true' >> /etc/xdg/autostart/hplip-systray.desktop", # remove pre-installed grub2, we need to be able to select grub2 vs grub2-efi at install time "rpm -e --nodeps grub2", |