[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting bash script upon bootup



On Wed, Aug 04, 2010 at 01:51:54PM -0500, Tim Legg wrote:
> Hello,
> 
> What is a recommended way of executing an interactive bash script
> automatically upon boot-up on a live system?

What do you mean by "interactive"? Where does this interaction happen?

> 
> In the past, I've kept the script in /bin and the user boots from the CD
> and executes the script.  I think it would be cool if I could remove a
> step and have the script start itself for the user.

When / if the script exists, what should happen:

* Restart the script
* Start a shell
* Shutdown the system?

Is this a system based on Lenny or Squeeze? (in case of Squeese: is
upstart used?)

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: