From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from song.cn.fujitsu.com (unknown [222.73.24.84]) by mail.openembedded.org (Postfix) with ESMTP id 74AFC6BB6C for ; Tue, 3 Sep 2013 08:30:54 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.89,1012,1367942400"; d="scan'208";a="8390014" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 03 Sep 2013 16:27:41 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r838UgHb003699 for ; Tue, 3 Sep 2013 16:30:48 +0800 Received: from [127.0.0.1] ([10.167.226.190]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013090316283697-1174039 ; Tue, 3 Sep 2013 16:28:36 +0800 Message-ID: <52259E35.4030405@cn.fujitsu.com> Date: Tue, 03 Sep 2013 16:30:45 +0800 From: Bian Naimeng User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.28) Gecko/20120306 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/09/03 16:28:37, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/09/03 16:28:42, Serialize complete at 2013/09/03 16:28:42 Subject: [PATCH 0/2]acpid: make the initscript friendly to user X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 08:30:55 -0000 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 At default, the ${sysconfdir}/acpi/events will be not installed, but initscript depends on it while starting acpid daemon. If rule directory "${sysconfdir}/acpi/events" 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. The following patchs try to make the initscript friendly to user. Bian Naimeng (2): acpid: install events directory at default. acpid: print message if rule directory is inexist.