On Thu, Jan 01, 2015 at 02:47:41PM -0500, stephen Turner wrote:
> >
> > service(8) is part of the rc scripts, of which there are more variants
> > than there are of init(8).
> >
> 
> so service is a script? ok, i thought it was a program and thought surely
> we would want it in toybox if it was. Come to think of it i do recall
> reading about writing your own service script when i was checking out
> embedded stuff.

It doesn't have to be a script, but it does have to be written to match
a specific set of rc scripts (the rc scripts are the shell part of
the init system; there's OpenRC, the LFS init scripts, the Debian init
scripts, the old RedHat init scripts, upstart and systemd implementions,
Slackware init scripts, and probably several more I'm not aware of).

> > It makes little sense to include it in toybox when the only init we have
> > is oneit; even when init gets out of pending, implementing service in
> > toybox would be hard-coding a requirement about how the rc scripts work.
> > We certainly couldn't implement the rc scripts in toybox, since
> > they are scripts.
> >
> 
> A google search turns up zilch on oneit. Is there a website for it?

No. It's toys/other/oneit.c (in the toybox tree).

HTH,
Isaac Dunham

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to