I am building deployment system on debian v9.40 (PXE). I will build a script which will read basics parameters, save them and initialize flashing procedure. Unfortunatelly during this process I need reboot server few times. I would like to make another script which should run after boot, read current status/step from file and if it isnt done will run next step till it is done.

I found how to run script during boot but I need to run it automatic after boot that I can see whole process, output and errors if they appears.

Just like I would start it every time after each boot from keyboard.

Thank you for your help!

New contributor
sft is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

sft is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.