Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207962 Details for
Bug 290201
updatedb on laptop starts, even when AC power is unplugged
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/cron.daily/slocate
slocate (text/plain), 459 bytes, created by
Kai Dietrich
on 2009-10-23 07:10:52 UTC
(
hide
)
Description:
/etc/cron.daily/slocate
Filename:
MIME Type:
Creator:
Kai Dietrich
Created:
2009-10-23 07:10:52 UTC
Size:
459 bytes
patch
obsolete
>#! /bin/sh > >ACSTATEFILE='/proc/acpi/ac_adapter/AC/state' >NICECOMMAND='/usr/bin/ionice -c3 /usr/bin/nice' > >ACPOWER=false >if [ -f ${ACSTATEFILE} ] >then > PROCAC=`/bin/cat ${ACSTATEFILE}` > PROCAC=${PROCAC##'state: '} > if [ ${PROCAC} != 'off-line' ] > then > ACPOWER=true > fi >fi > >if [ -x /usr/bin/updatedb ] && [ ${ACPOWER} = true ] >then > if [ -f /etc/updatedb.conf ] > then > ${NICECOMMAND} /usr/bin/updatedb > else > ${NICECOMMAND} /usr/bin/updatedb -f proc > fi >fi
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 290201
:
207962
|
207963