From: Michael Clark <michael@metaparadigm.com>
To: Brad Tilley <rtilley@vt.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Universal method to start a script at boot
Date: Mon, 12 Sep 2005 12:17:20 +0800 [thread overview]
Message-ID: <43250150.20308@metaparadigm.com> (raw)
In-Reply-To: <1126462467.43247403c2e1c@wmtest.cc.vt.edu>
Brad Tilley wrote:
>This is off-topic and I apologize. However, I think some here could answer
>this.
>
>
>
>>Is there a standard way to start a script or program at boot that will work
>>on any Linux kernel/distro no matter which init system is being used or how it
>>has been configured? Probably not, but I thought someone here could possibly
>>answer this.
>>
>>
You could use the LSB conforming method of writing and installing
an init script:
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html
Most of the main distros support this (Fedora, RHEL, SuSE,
Mandriva, Debian, ...). Not to say all of them ship with the
LSB support packages installed by default. Some do some don't.
On Debian I need to do an "apt-get install lsb".
~mc
next prev parent reply other threads:[~2005-09-12 4:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1126462329.4324737923c2d@wmtest.cc.vt.edu>
2005-09-11 18:14 ` Universal method to start a script at boot Brad Tilley
2005-09-12 4:17 ` Michael Clark [this message]
2005-09-12 9:49 ` Denis Vlasenko
2005-09-12 11:07 ` DervishD
2005-09-12 11:14 ` Denis Vlasenko
2005-09-12 13:14 ` DervishD
2005-09-12 12:23 ` linux-os (Dick Johnson)
2005-09-12 11:22 ` Michael Clark
2005-09-12 13:52 ` Brad Tilley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43250150.20308@metaparadigm.com \
--to=michael@metaparadigm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rtilley@vt.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox