I want to make a script that runs on boot, as I'm making a PowerShell script to install the Raspberry Pi OS. It needs to install some things on boot. How do I make a script to run on first boot and then automatically destroy itself, just like wpa_supplicant.conf?

1 Answer 1


I found an answer: use Raspberian Firstboot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.