Docs »
Development Manual »
Examples »
Hello world module & plugin
https://docs.opnsense.org/development/examples/helloworld.html#add-actions
This add actions section example code line...
$bckresult = trim($backend->configdRun("template reload OPNsense.HelloWorld"));
should be...
$bckresult = trim($backend->configdRun("template reload OPNsense/HelloWorld"));
Thanks, nice catch. Will change it in the templates, but will take a week or two to hit the online version.
Cheers,
Franco