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

14 lines
340 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022-present Fewtarius
### Sleep is currently broken, so we'll disable it.
suspendmode off
### Ignore power button presses for now, until we can finish up fixing sleep.
cat <<EOF >~/.config/logind.conf.d/login.conf
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
EOF