mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
15 lines
260 B
Bash
15 lines
260 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
# De-activate the touch screen.
|
||
|
echo 1 >/sys/power/state-extended
|
||
|
|
||
|
# Prevent the following error on the last line:
|
||
|
# *write error: Operation not permitted*.
|
||
|
sleep 2
|
||
|
|
||
|
# Synchronize the file system.
|
||
|
sync
|
||
|
|
||
|
# Suspend to RAM.
|
||
|
echo mem >/sys/power/state
|