mohangupta
Posts: 1
Joined: Mon Dec 05, 2016 11:50 pm

Add first-time boot and everytime boot scripts on SD card

Tue Dec 06, 2016 12:00 am

Hi!

I was reading that the newest Raspbian allows you to put a file named "ssh" on your SD card, and on first boot, is picked up by init scripts as an indication to enable SSH. I wonder if it would be possible to similarly have a firstboot.sh and a everytime.sh (a la PiBakery) , to do tasks such as setup keyboard, rename hostname, password, install packages etc.

Thanks
Mohan

Return to “Raspberry Pi OS”