scripts/sleep.to.mem.sh

5 lines
97 B
Bash
Raw Normal View History

2021-04-07 15:28:08 +02:00
#!/bin/sh
sleep 2
echo deep | sudo tee /sys/power/mem_sleep
echo mem | sudo tee /sys/power/state