mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
261 B
Bash
16 lines
261 B
Bash
6 years ago
|
#! /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
|
||
|
|