Adding custom script to OPNsense

Started by FingerlessGloves, March 23, 2019, 12:39:24 AM

Previous topic - Next topic
Hi Guys,

What's the best place to place a custom shell script in the OS?

I've create a script which gets me a port forwarded from PIA, but it has to run on OPNSense to do that.

I've currently got it placed in /conf/, but if there's a prefered location that would be great.

Also I've added a crontab record to /etc/crontab. Does that get reset by updates too?
Adventuring through internet pipes
My Blog