Files
Server-scripts/quiethost/disable-hibernate-reboot
T
2026-09-14 12:43:38 +02:00

6 lines
164 B
Bash
Executable File

#!/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