AMI-system / ami_setup

AMI configuration files
MIT License
0 stars 2 forks source link

Run most scripts in rc.local instead of afterStartup.sh #20

Open JonasBchrt opened 1 month ago

JonasBchrt commented 1 month ago

That has been a topic since a long time. One more thought:

Currently, many scripts (scheduling, camera...) are invoked in the Witty Pi's afterStartup script. However, now, I think they would be better placed in rc.local or in crontab on reboot (in the long term).

If the system is rebooted without the Witty Pi being involved, the scripts won't run in the current implementation leaving the system idle. This won't happen during deployments, but may occur during debugging and development.

@abhimandela