On Sun, Aug 25, 2013 at 12:54 PM,  <[email protected]> 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

Reply via email to