Merge pull request #1743 from anthonycaccese/aokzoe-a1-pro-support
Add sleep mode to AOKZOE A1 Pro
This commit is contained in:
commit
08a5e91704
1 changed files with 12 additions and 0 deletions
12
packages/hardware/quirks/devices/AOKZOE AOKZOE A1 Pro/001-hardwareinit
Executable file
12
packages/hardware/quirks/devices/AOKZOE AOKZOE A1 Pro/001-hardwareinit
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
||||
|
Loading…
Reference in a new issue