Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138187 Details for
Bug 201874
Genkernel support for TuxOnIce
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proof of concept - add TuxOnIce support to genkernel 3.4.9
genkernel-3.4.9-tuxonice_support.diff (text/plain), 1.16 KB, created by
Krzysztof Kozlowski
on 2007-12-10 19:05:56 UTC
(
hide
)
Description:
Proof of concept - add TuxOnIce support to genkernel 3.4.9
Filename:
MIME Type:
Creator:
Krzysztof Kozlowski
Created:
2007-12-10 19:05:56 UTC
Size:
1.16 KB
patch
obsolete
>--- genkernel-3.4.9_pre6/generic/initrd.scripts 2007-11-02 01:37:59.000000000 +0100 >+++ genkernel-3.4.9_pre6/generic/initrd.scripts.new 2007-12-10 19:43:28.000000000 +0100 >@@ -857,22 +857,22 @@ > } > > suspend2_resume() { >- if [ -d /proc/suspend2 ] || [ -d /sys/power/suspend2 ]; then >+ if [ -d /proc/tuxonice ] || [ -d /sys/power/tuxonice ]; then > 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" >+ local suspend2_userui_program="/sys/power/tuxonice/user_interface/program" >+ local suspend2_do_resume="/sys/power/tuxonice/do_resume" > > # > # Backward compatibility > # >- if [ -e /proc/suspend2 ]; then >- suspend2_userui_program="/proc/suspend2/userui_program" >- suspend2_do_resume="/proc/suspend2/do_resume" >+ if [ -e /proc/tuxonice ]; then >+ suspend2_userui_program="/proc/tuxonice/userui_program" >+ suspend2_do_resume="/proc/tuxonice/do_resume" > fi > > modules_scan suspend2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201874
: 138187