[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/klaptopdaemon
From: Roberto Teixeira <rst () kde ! org>
Date: 2004-11-29 11:24:14
Message-ID: 20041129112414.74A3B1B9DE () office ! kde ! org
[Download RAW message or body]
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) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic