Add scripts for all sleep mode
This commit is contained in:
parent
bc78b9be1b
commit
51bf2d6e82
3
sleep.to.disk.sh
Executable file
3
sleep.to.disk.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
sleep 2
|
||||
echo disk | sudo tee /sys/power/state
|
3
sleep.to.freeze.sh
Executable file
3
sleep.to.freeze.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
sleep 2
|
||||
echo freeze | sudo tee /sys/power/state
|
4
sleep.to.mem.sh
Executable file
4
sleep.to.mem.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
sleep 2
|
||||
echo deep | sudo tee /sys/power/mem_sleep
|
||||
echo mem | sudo tee /sys/power/state
|
Loading…
Reference in New Issue
Block a user