From d19c33f798855252bbe56bbc765ebc73e9036cba Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 16 Feb 2013 14:14:50 +0100 Subject: removed hibernate/resume --- etc/suspend.conf | 2 +- 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 diff --git a/init b/init index acf61d1..b868088 100755 --- a/init +++ b/init @@ -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. -- cgit v1.2.3