Move acpid.conf from init to acpi as it's only used on x86.
BUG=chromium-os:16792
TEST=Build chromeos-acpi on x86, make sure package owns acpid.conf
Change-Id: Ibf338502521f3de08442110d9332faf9e6dc8f7f
Reviewed-on: http://gerrit.chromium.org/gerrit/2983
Tested-by: Mario Limonciello <[email protected]>
Reviewed-by: Daniel Kurtz <[email protected]>
Reviewed-by: Richard Barnette <[email protected]>
Reviewed-by: Scott James Remnant <[email protected]>
Tested-by: Scott James Remnant <[email protected]>
diff --git a/acpid.conf b/acpid.conf
new file mode 100644
index 0000000..41638de
--- /dev/null
+++ b/acpid.conf
@@ -0,0 +1,16 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description "ACPI daemon service"
+author "[email protected]"
+
+# acpid is responsible for handling changes in power state, such as
+# changes in whether we're running on AC power or battery.
+
+start on starting system-services
+stop on stopping system-services
+
+respawn
+expect fork
+exec acpid --confdir /etc/acpi/events --socketfile /var/run/acpid.socket