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

Re: Simplest way to have a shell script run at startup?



Hi chals,

As usual, thanks, but I've been reviewing that (or similar) and not sure if I'm clear.  

So do I just include an executable script with a number in the file name like:

1190-runclean

in the config/lib/live directory, where the 1190-runclean runs my shell script and then do the build?

Thanks,
Jim



From: chals <chals@chalsattack.com>
To: "debian-live@lists.debian.org" <debian-live@lists.debian.org>
Cc: o haya <ohaya@yahoo.com>
Sent: Sunday, August 30, 2015 9:00 AM
Subject: Re: Simplest way to have a shell script run at startup?

On Sun, Aug 30, 2015 at 2:02 PM, o haya <ohaya@yahoo.com> wrote:



> Hi,
>

Hi,

>
> How can I build the live ISO such that that /usr/bin/clean.sh gets run
> whenver the live ISO is booted?

>

Try with a boot-time hook (I link to the online live-manual version
for debian 7 "wheezy")


http://live-systems.org/manual/stable/html/live-manual.en.html#494


Hope this helps.

--
chals
www.chalsattack.com
chals@chalsattack.com




Reply to: