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)
|