distribution/packages/hardware/quirks/platforms/AMD64/030-suspend_mode

14 lines
290 B
Text
Raw Normal View History

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2023-04-25 20:20:32 +00:00
. /etc/profile.d/001-functions
2023-04-25 20:20:32 +00:00
### Set sleep mode to mem sleep (S3)
MYSLEEPMODE=$(get_setting system.suspendmode)
if [ -z "${MYSLEEPMODE}" ]
then
/usr/bin/suspendmode mem
fi