aboutsummaryrefslogtreecommitdiff
path: root/package/acpid/acpid-socket-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/acpid/acpid-socket-path.patch')
-rw-r--r--package/acpid/acpid-socket-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/acpid/acpid-socket-path.patch b/package/acpid/acpid-socket-path.patch
new file mode 100644
index 0000000000..9304e7a52c
--- /dev/null
+++ b/package/acpid/acpid-socket-path.patch
@@ -0,0 +1,11 @@
+--- acpid-1.0.4/acpid.h
++++ acpid-1.0.4/acpid.h
+@@ -32,7 +32,7 @@
+ #define ACPI_EVENTFILE ACPI_PROCDIR "/event"
+ #define ACPI_CONFDIR "/etc/acpi/events"
+ #define ACPI_LOGFILE "/var/log/acpid"
+-#define ACPI_SOCKETFILE "/var/run/acpid.socket"
++#define ACPI_SOCKETFILE "/tmp/acpid.socket"
+ #define ACPI_SOCKETMODE 0666
+ #define ACPI_MAX_ERRS 5
+