Problem starting a program with shellcmd
-
Using v.1.2.2
I've got a custom script that I would like to start on boot. I've looked at the rc.d option, and I'd rather start it in something that is backed up. So, this is what I've done to /conf/config.xml
<system><shellcmd>/usr/local/sbin/mycommand.sh &</shellcmd>
…</system>I've run the command manually, so permissions are correct.
Also, after a reboot, the shellcmd line is removed from my config.xml file. Is there something I'm missing or doing incorrectly?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.