Re: run a perl script during system boot
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Tue, 28 Feb 2006 15:28:20 -0500
On 2006-02-27, Nico Kadel-Garcia wrote:
Grant wrote:
On Mon, 27 Feb 2006 05:10:42 -0500, "Nico Kadel-Garcia"
<nkadel@xxxxxxxxxxx> wrote:
chinzi wrote:
hey ..
how do i run a perl script at system boot???
Usually by creating an init script in /etc/rc.d/init.d or wherever
your system puts its init scripts, and running it at certain levels
by default.
Please, not perl boot script ... why? If it is post-boot try
rc.local, or whatever, called after all boot scripts complete.
The shell script can call the perl script, and bring it into the chkconfig
managed setups. There's a big problem with editing rc.local: it makes it
tougher to turn on and off the boot behavior,
What could be easier than adding or removing an octothorpe ($) at
the beginning of a line in /etc/rc.local?
and more difficult to port the software to other systems.
Why? Other systems may not use the /etc/rc? boot method.
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- References:
- run a perl script during system boot
- From: chinzi
- Re: run a perl script during system boot
- From: Nico Kadel-Garcia
- Re: run a perl script during system boot
- From: Grant
- Re: run a perl script during system boot
- From: Nico Kadel-Garcia
- run a perl script during system boot
- Prev by Date: Re: Changing the start end end date of the daylight saving time
- Next by Date: Debian 2.6.15-1-k7 booting problems
- Previous by thread: Re: run a perl script during system boot
- Next by thread: Panels frame in kcontrol
- Index(es):
Relevant Pages
|