From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 527A31381F3 for ; Mon, 26 Aug 2013 01:40:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA90E0A01; Mon, 26 Aug 2013 01:40:46 +0000 (UTC) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 850E9E0944 for ; Mon, 26 Aug 2013 01:40:45 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id k14so3958879iea.5 for ; Sun, 25 Aug 2013 18:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YC1RKtyaNWxQ7gJ/tqhthTtfVLj8tzGdxpiF/T8vA7c=; b=bJ7Gg1nmB4vx+2jWo5a3Qz7Tkmr4V6b8Zp2986cp+i+/noMUp7WnrcTJmorR8mO6Zp Gc0chZ3lVDmplWlLSHR+Ntz0bzooyVNi8ygUvVjMb+g8xM3Fn2G6mLcBObw5P3MMe8zL VqSOLz+qUKjkjIt6SWGf80URxNDZ8KaHGzrYXoHkDCYb2SqDR/U8HmfzzeTvuK//4c2S KOk0kAz3biSGwEwQNmQRCRvfS3Ggb/HSG53jGDrTFT3luu2jaom2JhdbC2pqQ75VgHvj ZtG/yCSZBqbOeYgkLgBqe1Hg3IDLbFf9vJZ5nvpw0PtcDSGTSLA6Klh7cmhB1DSGHBav ferA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.50.4.33 with SMTP id h1mr4905961igh.60.1377481244650; Sun, 25 Aug 2013 18:40:44 -0700 (PDT) Received: by 10.50.219.170 with HTTP; Sun, 25 Aug 2013 18:40:44 -0700 (PDT) In-Reply-To: <20130825045451.GA25561@solfire> References: <20130825040413.GA3342@solfire> <521987F3.20808@iinet.net.au> <20130825045451.GA25561@solfire> Date: Mon, 26 Aug 2013 09:40:44 +0800 Message-ID: Subject: Re: [gentoo-user] Makeing /dev/rtc1 accessible as soon as possible - how? From: Mark David Dumlao To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: f36ddad3-75d7-469b-a8a6-401a621452f1 X-Archives-Hash: 8425924d5b05854777cda389c235a1fc On Sun, Aug 25, 2013 at 12:54 PM, wrote: > Hi Mark, hi William, > > the script ds3231 in /etc/init.d is -- according to rc-update -- > set as folows: > > ds3231 | boot Long and short of it, here's the boot order: sysinit -> boot -> (single) -> default rc(8) tells me that sysinit is for bringing up system specific stuff such as /dev, /proc, /sys. So it's appropriate for a special device file such as yours, with the caveat that you want it up AFTER any dependencies such as sysfs. Now how to do that is to make your script openrc compliant, so... > > There is no corresponding file in /etc/conf.d since the script > onlu consist of two commands (see previous posting). There is no > initramfs. Since openrc is running your script, it will check /etc/conf.d/same-name for any script with environment variables. Or you can put it in the init script itself. Mind you, I don't know where to find documentation on how openrc implements this, unlike, say, some controversial init system on this list... -- This email is: [ ] actionable [x] fyi [ ] social Response needed: [ ] yes [x] up to you [ ] no Time-sensitive: [ ] immediate [ ] soon [x] none