From: Brad Tilley <rtilley@vt.edu>
To: Michael Clark <michael@metaparadigm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Universal method to start a script at boot
Date: Mon, 12 Sep 2005 09:52:45 -0400 [thread overview]
Message-ID: <1126533165.7503.0.camel@athop1.ath.vt.edu> (raw)
In-Reply-To: <43250150.20308@metaparadigm.com>
On Mon, 2005-09-12 at 12:17 +0800, Michael Clark wrote:
> 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
>
Thank you. I think this is the best approach for me.
prev parent reply other threads:[~2005-09-12 13:53 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 ` Brad Tilley
2005-09-12 4:17 ` Michael Clark
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 [this message]
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=1126533165.7503.0.camel@athop1.ath.vt.edu \
--to=rtilley@vt.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@metaparadigm.com \
/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
all inboxes | Powered by JetHome®