This is a durty hack to disable suspend to RAM on a system which
reports this capability but in fact can not do it properly...
Since this option (disabling certain actions from power manager) is
not available, I wrote a small file 'local_check' and put it into
/etc/pm/config.d directory:
grep() {
echo "$@" | /bin/grep -q 'mem /sys/power/state' &&
return 1 ||
/bin/grep "$@"
}
Now /usr/bin/pm-is-supported --suspend returns 1 and
/usr/bin/pm-is-supported --hibernate returns 0
Enjoy!
--
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines