scripts/sleep.to.mem.sh

5 lines
97 B
Bash
Executable File

#!/bin/sh
sleep 2
echo deep | sudo tee /sys/power/mem_sleep
echo mem | sudo tee /sys/power/state