From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MDcXq-0000uQ-NO for garchives@archives.gentoo.org; Mon, 08 Jun 2009 10:57:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3D33E0339; Mon, 8 Jun 2009 10:57:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 83E93E0339 for ; Mon, 8 Jun 2009 10:57:37 +0000 (UTC) Received: from [10.0.0.31] (unknown [193.172.236.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3C7C864E80; Mon, 8 Jun 2009 10:57:36 +0000 (UTC) Message-ID: <4A2CEDD2.7030509@gentoo.org> Date: Mon, 08 Jun 2009 12:54:10 +0200 From: Joe Peterson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: Mike Frysinger CC: gentoo-dev@lists.gentoo.org, Roy Marples Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) References: <20090607195950.GI22927@orbis-terrarum.net> <200906080619.20962.vapier@gentoo.org> <4A2CEA79.1030005@gentoo.org> <200906080645.49254.vapier@gentoo.org> In-Reply-To: <200906080645.49254.vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: eef34bf9-fe78-4db1-ac41-95a3a560ca73 X-Archives-Hash: 068d098d14f17cf5bf448337f0cae931 Mike Frysinger wrote: > /usr isnt guaranteed to be mounted for all init.d scripts Right... Well, then the best choice is probably /etc out of the list [Roy pointed out] of the only OS-nonspecific dirs, unless we want to have a small executable script in /bin or /sbin that spits out the version. -Joe