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

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



On Sun, Aug 30, 2015 at 3:05 PM, o haya <ohaya@yahoo.com> wrote:
>
> 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?
>

The correct directory is (as explained in the documentation I linked
to previously):

config/includes.chroot/lib/live/config/

And you can make your 1190-runclean hook run a script i.e a script
running a script, or even better, include the commands to be executed
in your hook (depending on what you want to achieve).


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


Reply to: