Re: On init in Debian
On 03/17/2012 01:40 PM, Philip Hands wrote:
> On Sat, 17 Mar 2012 18:23:57 +0800, Thomas Goirand <zigo@debian.org> wrote:
>> NAME=package-binary-file
>> DESC="package daemon description"
>>
>> [ -e . /usr/share/sysv-lib/debsysv-lib ] && debsysv-init-lib $@
>
> I'm happy to help with that ... although, I doubt we're the first people
> to think of something like this, and it would be a shame to ignore an
> existing solution.
> OpenWRT does something quite interesting, which is that they have an
> /etc/rc.common and then make the init scripts start thus:
> Any others?
As you are contemplating non-Linux systems anyway, maybe this might be
of interest to you, too:
http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc.d/
--
Kind regards,
--Toni++
Reply to: