Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331276 Details for
Bug 445744
sys-apps/hprofile - Add patch for improving init file.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch
file_445744.txt (text/plain), 1.04 KB, created by
anonymous
on 2012-12-03 06:14:00 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
anonymous
Created:
2012-12-03 06:14:00 UTC
Size:
1.04 KB
patch
obsolete
>--- /etc/init.d/hprofile 2012-07-04 02:01:29.861618809 +0200 >+++ /etc/init.d/hprofile 2012-07-04 02:03:49.713870416 +0200 >@@ -2,24 +2,26 @@ > # Copyright 1999-2002 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License, v2 or later > >- > depend() { >- before modules >+ after modules > } > > start() { >- profile=$(/usr/local/sbin/hpdet boot) >- ebegin "Selecting hardware profile ${profile}" >- /usr/local/sbin/hprofile boot >+ local vgap=$(/usr/sbin/hpdet vga) >+ local pwrp=$(/usr/sbin/hpdet disk) >+ ebegin "Selecting hardware profile vga.$vgap and power.$pwrp" >+ /usr/sbin/hprofile vga >+ /usr/sbin/hprofile power > eend $? > } > > stop() { >- profile=$(/usr/local/sbin/hprofile -c boot) >- ebegin "Stopping hardware profile ${profile}" >- /usr/local/sbin/hprofile -s boot >+ local vgap=$(/usr/sbin/hprofile -c vga) >+ local pwrp=$(/usr/sbin/hprofile -c disk) >+ ebegin "Stopwrping hardware profile vga.$vgap and power.$pwrp" >+ /usr/sbin/hprofile -s vga >+ /usr/sbin/hprofile -s power > eend $? > } > >- > # vim:ts=4
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 Raw
Actions:
View
Attachments on
bug 445744
: 331276