hypriot / image-builder-rpi

SD card image for Raspberry Pi with Docker: HypriotOS
http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/
MIT License
1.07k stars 168 forks source link

Need to run a script after boot (when it reaches login prompt) #316

Closed edgararroyo closed 5 years ago

edgararroyo commented 5 years ago

I tried to enable auto login from raspi-config but it's not working. How can I have it automatically login? I am trying to run /etc/profile.d/Z99-start.sh

OR

How can I run a script once the OS is up and runnig?

EDIT:

NVM, added cron (it was empty, wasn't sure if it had working cron)