summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-02-16 14:14:50 +0100
committerPatrick Simianer <p@simianer.de>2013-02-16 14:14:50 +0100
commitd19c33f798855252bbe56bbc765ebc73e9036cba (patch)
tree61ca2b68ed967c40c63ae3fd7210340ca792d9fb
parent5a110a019c519a881069a8aa8149fad0d240b59c (diff)
removed hibernate/resume
-rw-r--r--etc/suspend.conf2
-rwxr-xr-xinit5
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.