On Mon, Mar 07, 2016 at 06:02:19PM +0000, Mark Rogers wrote:
Simple question: Is there anywhere I can dump a script file that will cause it to get run on startup?
System is Debian (actually Raspbian although it could apply to other Debian derivatives). On this occasion it has a GUI but I'm looking for something that would work in a GUI-less environment.
Caveats: What I want to do is just copy a file there (eg dropping files onto the SD card of a Pi). I'm trying to keep things simple so ideally I don't want to edit any files, which means appending to rc.local is out, for example.
Can't you add something to rc.local that would look for files in the SD card and execute them? You'd need to change rc.local once but that's all.