aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorBaogen Shang <baogen.shang@windriver.com>2013-11-21 00:53:27 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 13:39:33 +0000
commitb7a8daf52c9befc773f320e54999bb91efdac334 (patch)
tree7e4b3adc578fda8a208aa79980ef987372f41bc5 /meta/classes/package_rpm.bbclass
parent8c0cc8815919c23033a4bb937331c2650c8aee4e (diff)
downloadopenembedded-core-contrib-b7a8daf52c9befc773f320e54999bb91efdac334.tar.gz
acpid: fix acpid break down
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. 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/classes/package_rpm.bbclass')
0 files changed, 0 insertions, 0 deletions