I'd like to run a script at startup without actually adding it as a command to rc.local, just by copying a script somewhere.
I know in theory I can put it into /etc/init.d but that's really for services, not scripts that are just supposed to run on startup.
I know about the cron
@reboot option as well but I really would prefer something where I just copy a script over to a directory and then can forget about it.
Basically, in the same way you can just put a file in /etc/cron.daily or /etc/logrotate.d I'm wondering if there's an equivalent folder where you just put in a file and it runs at startup.
If necessary I'm willing to install a program that does this for you, so long as it's stable.