Mageia Bugzilla – Attachment 11962 Details for
Bug 27480
/etc/cron.hourly/0anacron fails to detect ac power is on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to add ACAD to list of directories to check.
cronie.anacron.patch (text/plain), 362 bytes, created by
Dave Hodgins
on 2020-10-29 02:39:40 CET
(
hide
)
Description:
Patch to add ACAD to list of directories to check.
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2020-10-29 02:39:40 CET
Size:
362 bytes
patch
obsolete
>--- /etc/cron.hourly/0anacron.original 2020-10-28 21:35:10.950257854 -0400 >+++ /etc/cron.hourly/0anacron 2020-10-28 21:35:38.685540230 -0400 >@@ -9,7 +9,7 @@ > > # Do not run jobs when on battery power > online=1 >-for psupply in AC ADP0 ; do >+for psupply in AC ACAD ADP0 ; do > sysfile="/sys/class/power_supply/$psupply/online" > > if [ -f $sysfile ] ; then
--- /etc/cron.hourly/0anacron.original 2020-10-28 21:35:10.950257854 -0400 +++ /etc/cron.hourly/0anacron 2020-10-28 21:35:38.685540230 -0400 @@ -9,7 +9,7 @@ # Do not run jobs when on battery power online=1 -for psupply in AC ADP0 ; do +for psupply in AC ACAD ADP0 ; do sysfile="/sys/class/power_supply/$psupply/online" if [ -f $sysfile ] ; then
View Attachment As Raw
Actions:
View
Attachments on
bug 27480
: 11962