FreeBSD Bugzilla – Attachment 220293 Details for
Bug 251619
sysutils/battmond: battmond dies after first suspend
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
proposed patch
patch-battmond.c (text/plain), 411 bytes, created by
dirtystickyfloor
on 2020-12-05 20:52:38 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
dirtystickyfloor
Created:
2020-12-05 20:52:38 UTC
Size:
411 bytes
patch
obsolete
>--- battmond.c.orig 2020-12-05 20:19:13 UTC >+++ battmond.c >@@ -194,8 +194,7 @@ int main(int argc, char ** argv) > if (dosuspend) { // Suspend > syslog(LOG_EMERG, BATT_SUSP); > close(acpifd); >- execl("/usr/sbin/acpiconf", "acpiconf", "-s3", NULL); >- oops("execl"); >+ system("/usr/sbin/acpiconf acpiconf -s3"); > } else { // Halt > syslog(LOG_EMERG, BATT_HALT); > close(acpifd);
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 251619
:
220293
|
220296