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

Re: Starting bash script upon bootup - SOLVED



Greetings,

On Thu, Aug 12, 2010 at 12:52 PM, Tim Legg <postfix_list@timothylegg.com> wrote:
>> 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:
>>
>
> I tested it and it worked.
>

Since you can confirm that it works, perhaps you would consider
documenting the information in the live-manual under Use Cases.

Thanks.

>>
>> 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: