[PATCH 2/3] defaultenv-2: introduce /env/rc.d

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Jan 13 01:22:44 PST 2015


> On Jan 13, 2015, at 5:12 PM, Jan Lübbe <jlu at pengutronix.de> wrote:
> 
> Hi Jean-Christophe,
> 
> On Tue, 2015-01-13 at 16:29 +0800, Jean-Christophe PLAGNIOL-VILLARD wrote:
>> and this will allow also to have the same script at different order
>> based on the board requirement.
> 
> So without links you should be able to use 'mv' instead of 'ln'.
> 
> If this doesn't work for your case, could you describe it in a bit more
> detail?

yes you could do this but this make updates difficult

the links you can drop/remove them all and recreate them at runtime

it’s predictable

secondly I’m preparing a second patch series to add shutdown sequence

but in this case the shutdown is not necessary the same as init

so symlink give us flexibility

Best Regards,
J.

> 
> Regards,
> Jan
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> 




More information about the barebox mailing list