Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16362 Details for
Bug 26977
speedfreq-0.5.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The initscript
speedfreq.rc (text/plain), 691 bytes, created by
Christian Axelsson
on 2003-08-20 04:02:18 UTC
(
hide
)
Description:
The initscript
Filename:
MIME Type:
Creator:
Christian Axelsson
Created:
2003-08-20 04:02:18 UTC
Size:
691 bytes
patch
obsolete
>#!/sbin/runscript > >depend() { > need modules logger > use acpid >} > >start() { > ebegin "Starting speedfreq" > if [ "${SPEED}" = "static" ] && \ > [ -f /proc/acpi/battery/BAT1/state ] > then > action=`cat /proc/acpi/battery/BAT1/state | grep charging \ > | cut -c 26-` > case $action in > charging) speed=performance > logger "A/C adapter plugged in" > ;; > discharging) speed=powersave > logger "A/C adapter plugged out" > ;; > esac > else > speed=dynamic > fi > > start-stop-daemon --start --quiet --exec /usr/sbin/speedfreqd -- -P -p $speed > eend $? >} > >stop() { > ebegin "Stopping speedfreq" > start-stop-daemon --stop --quiet --exec /usr/sbin/speedfreqd > 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 26977
:
16358
|
16359
|
16360
|
16361
| 16362