summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid/acpid/init
Commit message (Collapse)AuthorAgeFilesLines
* acpid: fix acpid break downBaogen Shang2013-11-221-2/+2
| | | | | | | | | | | | | | | | when execute the command "/etc/init.d/acpid stop" and "/etc/init.d/acpid restart", it prompt "no /usr/sbin/acpid found;none killed",The acpid could not be restarted because the script start with "!/bin/sh –e", that will make the script stop when an error occurred. So when no 'acpid' running (we have stopped it), the script would exit and 'restart' operation would be stopped by ‘stop’ operation.so avoiding the error occurred, add "-o" option,exit status 0 (not 1)if nothing done. (From OE-Core rev: b7a8daf52c9befc773f320e54999bb91efdac334) 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>
* acpid: fix acpid boot errorBaogen Shang2013-11-221-0/+1
| | | | | | | | | | | | | | 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>
* acpid: print message if rule directory is inexistBian Naimeng2013-09-061-2/+6
| | | | | | | | | | | | | acpid: print message if rule directory is inexist If rule directory is inexist, the acpid initscript will exit with success, but the daemon will be not running. Print message in this case to tell user that the daemon is not running. (From OE-Core rev: 66a5d15cecdf4bd267dbae5f771ebf3768232481) Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+26
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>