Files
Server-scripts/quiethost/disable-hibernate-reboot
T

5 lines
164 B
Bash
Raw Normal View History

2026-04-14 23:55:46 +02:00
#!/bin/bash
if [ -f /etc/systemd/sleep.conf.orig ] && [ $1 == "post" ] && [ $2 == "hibernate" ]; then
mv /etc/systemd/sleep.conf.orig /etc/systemd/sleep.conf
fi