3 # This script helps doing a minimal suspend-to-RAM debug,
4 # it should be used when Linux is booted with "init=/bin/bash"
8 mount
-n -o rw
,remount
/
9 mount
-t proc proc
/proc
10 mount
-t sysfs sysfs
/sys
14 if [ -z "$TIMES" ]; then
18 if [ $TIMES -lt 1 ]; then
22 for i
in $
(seq $TIMES); do
23 echo mem
> /sys
/power
/state
&& video_post