Unable to add menu items from custom package unless manually editing /conf/config.xml. Neither package shows up in /conf/config.xml.
-
Simple Hello_World package: (src) https://github.com/christopherbradski/pfsense-addons/tree/main/standalone/pfsense-pkg-hello_world pkg
pfBlockerNG-addon-whitelist-rulegen:(src) https://github.com/christopherbradski/pfsense-addons/tree/main/pfBlockerNG-addons/pfsense-pkg-pfblockerng_whitelist_rulegen pkgSteps to reproduce:
- Download the package to pfSense 2.7.1 instance
- Install the package using "pkg add /tmp/<package name>"
Expected results:
View the menu item in the Services dropdown
See an entry in /conf/config.xmlNotes:
I can manually view the PHP pages using the direct links in a web browser for both packages.
For the pfBlockerNG-addon... package, manually visiting the URL and entering an API credential generates the data in the /conf/config.xml file correctly.Any assistance or thoughts are much appreciated. I tried mirroring the config based on several examples.
Oh, this is true for the rc-style services, they do not appear either but I can confirm the hello_world service does start on its own correctly.
-
Just following up that I figured this out and that the CLI doesn't behave exactly like the UI when adding packages. Anyways, you can check the results of my effort here: https://github.com/christopherbradski/pfsense-addons