<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 2, 2016 at 11:19 AM, Stéphane ANCELOT <span dir="ltr"><<a href="mailto:sancelot@free.fr" target="_blank">sancelot@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
It looks like very complicated making easy thing....<br>
<br>
I would need only setting up a script that looks for usb media and launch a script if available on it (firmware upgrade)<br>
<br>
unfortunately, it looks like, graphic display is launched in parallel and i am not able doing this in a text only mode, before continuing boot process<br></blockquote><div><br></div><div>If you want it to start before something like lightdm.service, just use Before=lightdm.service? (It's the After that would be more complicated to do.)</div><div><br></div><div>Alternatively, hook the script into basic/sysinit instead of multi-user.target instead; compare to e.g. systemd-fsck or systemd-firstboot.</div><div> </div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>