Go to advanced search

by nmcclain
Tue Aug 27, 2019 1:43 am
Forum: Raspbian
Topic: Run script on first boot only
Replies: 4
Views: 4179

Re: Run script on first boot only

I ran into a similar requirement and created this lightly-modified version of Raspberian-light: https://github.com/nmcclain/raspberian-firstboot

If you create a /boot/firstboot.sh script on the image before flashing to an SD card, it will be executed when it's first booted on a Pi.

Go to advanced search