Raspberry Pi boot order
Content might be outdated
When Raspberry Pi starts, there are several scripts running.
Custom scripts
-
/etc/rc.local
- Supposed to be the last that runs as part of system boot
-
/home/pi/.config/lxsession/LXDE-pi/autostart
- When a user logs in, usually user pi logs in automatically (can be changed from raspi-config)
-
autostart starts before or at the same time as rc.local (based on experience, have not found any documentation)
Network could be slow, so the Raspberry Pi might not have an IP when programs start.