CVS commit by maragato: Recognise newer versions of software suspend. M +3 -2 portable.cpp 1.90 --- kdeutils/klaptopdaemon/portable.cpp #1.89:1.90 @@ -577,5 +577,6 @@ has_software_suspend(int type) known = last_seed; available = 0; - present = (::access("/proc/sys/kernel/swsusp", F_OK) == 0 && + present = (((::access("/proc/sys/kernel/swsusp", F_OK) == 0) || + (::access("/proc/software_suspend", F_OK) == 0)) && ::access("/usr/sbin/hibernate", F_OK) == 0); if (present) {