summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid
diff options
context:
space:
mode:
authorBaogen Shang <baogen.shang@windriver.com>2013-11-21 00:53:26 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 14:08:32 +0000
commit637ad2f8193cd5a708ba246c6f7d26a794ac3e4f (patch)
treeb6b8da4177b37b0ef44ecab2e24a50255fe4f840 /meta/recipes-bsp/acpid
parent6a3a4ba267871efbae1e908e85edb70ce4a3c244 (diff)
downloadpoky-637ad2f8193cd5a708ba246c6f7d26a794ac3e4f.tar.gz
acpid: fix acpid boot error
when booting board,the acpid daemon display some error information. the information as follow: acpid: opendir(/etc/acpi/events): No such file or directory the path "/etc/acpi/events" does not exist,so building the directory to fix the bug. (From OE-Core rev: 8c0cc8815919c23033a4bb937331c2650c8aee4e) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/acpid')
-rwxr-xr-xmeta/recipes-bsp/acpid/acpid/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/acpid/acpid/init b/meta/recipes-bsp/acpid/acpid/init
index 9f2c0d48d0..726d9ffd9e 100755
--- a/meta/recipes-bsp/acpid/acpid/init
+++ b/meta/recipes-bsp/acpid/acpid/init
@@ -2,6 +2,7 @@
2 2
3test -x /usr/sbin/acpid || exit 0 3test -x /usr/sbin/acpid || exit 0
4test -d /proc/acpi || exit 0 4test -d /proc/acpi || exit 0
5mkdir -p /etc/acpi/events
5 6
6case "$1" in 7case "$1" in
7 start) 8 start)