16
19.1 Legacy Series / Adding custom script to OPNsense
« on: March 23, 2019, 12:39:24 am »
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?
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?