the script checks for /proc/suspend2 to decide weither or not to activate suspend2, but in 2.6.18 /proc/suspend2 does not exist. I simple deleted the detection and added /sys/power/suspend2/ in its place and it worked fine.Maybe add a check in the script for both so the depreciated /proc/suspend2 still works.(or maybe my kernel is configured wrong and thats why I dont have /proc/suspend2) (ex) (initrd.scripts) suspend2_resume() { if [ -d /sys/power/suspend2 ]; then ## changed from /proc/suspend2 local splash_theme if grep "splash=" /proc/cmdline > /dev/null 2>&1; then splash_theme=`cat /proc/cmdline | sed 's/.*splash=/splash=/' | sed 's/ .*//' | sed 's/.*theme://' | sed 's/,.*//'` fi local suspend2_userui_program="/sys/power/suspend2/user_interface/program" local suspend2_do_resume="/sys/power/suspend2/do_resume" modules_scan suspend2 if which suspend2ui_text > /dev/null 2>&1; then which suspend2ui_text > "${suspend2_userui_program}" fi if [ -n "${splash_theme}" ]; then ln -s /etc/splash/${splash_theme} /etc/splash/suspend2 if which suspend2ui_fbsplash > /dev/null 2>&1; then which suspend2ui_fbsplash > "${suspend2_userui_program}" fi fi echo > "${suspend2_do_resume}" fi } any input would be appreciated ( maybe this has been done on purpose, or is already included in unstable genkernel? )
*** This bug has been marked as a duplicate of 148499 ***