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