"Run once" commands

What is the best way to program some commands to run just once, such as on the first boot after a reset or fresh install? For example, how would we run /etc/init.d/cron enable just once?

Probably /etc/uci-defaults/
Everything in there is run once then deleted.

2 Likes

Makes sense, because those are just scripts anyway. Thanks!