12 lines
283 B
Bash
Executable file
12 lines
283 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
# S3 sleep does not work on this device yet.
|
|
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
|
|
[Sleep]
|
|
AllowSuspend=yes
|
|
SuspendState=freeze
|
|
EOF
|