From 042487afb1c4d2d5080d30ed6c8b26f65c58e2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Mon, 9 Jan 2023 14:03:38 +0100 Subject: [PATCH] Disable power management --- stage1/02-sys-tweaks/02-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/stage1/02-sys-tweaks/02-run.sh b/stage1/02-sys-tweaks/02-run.sh index 8530c96..bc6ed12 100755 --- a/stage1/02-sys-tweaks/02-run.sh +++ b/stage1/02-sys-tweaks/02-run.sh @@ -30,4 +30,5 @@ install -v -m 644 files/polkit/*.pkla "${ROOTFS_DIR}/etc/polkit-1/localauthority on_chroot << EOF systemctl disable motd-news.timer systemctl disable apt-daily-upgrade.timer +systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target EOF \ No newline at end of file