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

Re: Starting bash script upon bootup



Greetings,

On Mon, Aug 9, 2010 at 10:22 AM, Tim Legg <postfix_list@timothylegg.com> wrote:
> So where is the .bashrc file located prior to the install so I can edit it
> so the script can begin execution when the shell is started upon bootup?
>

You include the .bashrc as you would want it to look by using
chroot_local-includes .

Try something (this example is not tested) like the below from your
build directory:

mkdir -p config/chroot_local-includes/etc/skel
cp  /path/to/your/configured/.bashrc  ./config/chroot_local-includes/etc/skel/

Now rebuild your image.


Reply to: