Skip to content

Commit 8c7881e

Browse files
authored
disable sleep, suspend, hibernate
1 parent 270be17 commit 8c7881e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oscfg/fedora.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ fedora_cfg() {
7070

7171
case "$GROUP" in
7272
*-desktop|workstation-product|developer-workstation)
73-
run dnf install -y spice-vdagent spice-webdavd
73+
run dnf install -y spice-vdagent spice-webdavd
74+
run systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
7475
esac
7576

7677
# remove ssh key files if any

0 commit comments

Comments
 (0)