11 lines
248 B
Bash
Executable file
11 lines
248 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
MYSLEEPMODE=$(get_setting system.suspendmode)
|
|
if [ -z "${MYSLEEPMODE}" ]
|
|
then
|
|
/usr/bin/setsuspendmode mem
|
|
fi
|