Tiny Core Extensions > TCE Q&A Forum

Starting FFMPEG at boot

<< < (4/4)

Rich:
Hi nygauk

--- Quote from: nygauk on February 06, 2026, 07:42:50 AM ---I don't like waiting, ...
--- End quote ---
If your ffmpeg command relies on the network, you have no choice.

That snippet will minimize the wait time. Whether you set the wait
time to 60 or 600 seconds will make no difference. The loop will
exit as soon as the network is up.

By placing it at the end of bootlocal.sh, it won't delay any other
commands being run from there.

Finally, bootlocal.sh runs in the background. So it won't block
anything else from running because nothing is waiting for it
to finish running.

Navigation

[0] Message Index

[*] Previous page

Go to full version