diff options
-rw-r--r-- | etc/suspend.conf | 2 | ||||
-rwxr-xr-x | init | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/etc/suspend.conf b/etc/suspend.conf index 944589e..67b5389 100644 --- a/etc/suspend.conf +++ b/etc/suspend.conf @@ -1,6 +1,6 @@ snapshot device = /dev/snapshot resume device = /dev/disk/by-label/rootfs -resume offset = 1719834 +resume offset = 0 #image size = 350000000 #suspend loglevel = 2 compute checksum = y @@ -1,10 +1,9 @@ #!/bin/busybox sh -#set -x - ROOT=/dev/disk/by-label/rootfs HOME=/dev/disk/by-uuid/092fdc4a-4356-47d9-9272-9a5f58e33bbf + prep_dev() { for opt in `cat /proc/cmdline`; do @@ -53,7 +52,7 @@ mount -t sysfs none /sys # Do your stuff here. prep_dev cryptsetup_do $HOME home -resume +#resume mount_root $ROOT || rescue_shell # Clean up. |