Package: hibernate
Version: 1.99-1
Severity: important
Tags: patch

Well known problem described in 
http://wiki.tuxonice.net/DistroAndHardwareSetup/DebianInitrd

All suggested solutions are not correct with the latest initramfs-tools 0.92b 
and tuxonice 3.0-rc7. The solution is as simple as this:

script_dir=/etc/initramfs-tools/scripts/local-top
script_file=$script_dir/000tuxonice
cat << 'EOF' > $script_file
#!/bin/sh
TUXONICE_DIR=/sys/power/tuxonice
[ -d $TUXONICE_DIR ] && echo > $TUXONICE_DIR/do_resume
EOF
chmod +x $script_file
# this should be done in postinst:
update-initramfs -u

I suppose 000tuxonice shoud be installed by this package (and not by 
initramfs-tools eg.) because tuxonice is supposed to be used from hibernate 
scripts. I do not see any other ways to use it.

Aleks



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to