TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: JOE BEANFISH
date: 2019-11-08 14:20:00
subject: Re: init.d is there a inf

On Fri, 08 Nov 2019 11:29:09 +0100, R.Wieser wrote:
> I wanted to add a shell script to init.d, and and had a ball with
> googeling enough info to be able to successfully add a script to the
> boot sequence. :-\
>
> But there is something I've not been able to find: a(n even halfday
> decent) description of, in the header of such a script, what entries are
> possible and what the arguments to them mean.
>
> For instance, there is a "Default-Start:" line followed by a number of
> digits and sometimes an "s" too.   No idea what they mean, or why there

What version of what distro you're using might matter. But...

man chkconfig

If you're not using chkconfig or the like, just plunk the
script into the proper rc.[012345] directory and leave out/ignore
all those structured comments.

Web search "BEGIN INIT INFO" comes up with useful things like:

https://refspecs.linuxfoundation.org/LSB_1.2.0/gLSB/initscrcomconv.html
http://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/
initscrcomconv.html
https://www.thegeekstuff.com/2012/03/lsbinit-script/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.