/env/init script order
barebox+mailing at cookiesoft.de
barebox+mailing at cookiesoft.de
Wed Jan 20 09:14:04 EST 2021
Hey folks,
according to the doc[0] the scripts in /env/init will be "executed in alphabetical order". But certainly, this isn't the case (for me).
If I look into the source[1], I see a `readdir` call, which certainly guarantees no order at all. But I want a certain order, at least I want my script to be executed after the automount script.
1. Why is there a discrepancy? Was there a time where the scripts were executed in order?
2. How can I achieve, that "my script" get's executed after a certain (the autmount) script?
Greetings,
Marcel
[0]: https://barebox.org/doc/latest/user/defaultenv-2.html#env-init
[1]: https://git.pengutronix.de/cgit/barebox/tree/common/startup.c#n333
More information about the barebox
mailing list