Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Enable (not start) a Plugin from Shell/Commandline
« previous
next »
Print
Pages: [
1
]
Author
Topic: Enable (not start) a Plugin from Shell/Commandline (Read 3614 times)
Pecadis
Newbie
Posts: 6
Karma: 0
Enable (not start) a Plugin from Shell/Commandline
«
on:
May 16, 2019, 01:31:13 pm »
Hi everyone,
i'm not sure if that's the right place but i am currently struggling to find any sources which can explain how i can enable a plugin rather than just restart it with the configctl tool.
I would appreciate any input on that.
Thanks
Logged
franco
Administrator
Hero Member
Posts: 17672
Karma: 1612
Re: Enable (not start) a Plugin from Shell/Commandline
«
Reply #1 on:
May 16, 2019, 06:51:34 pm »
Hi,
We do not have command line tools that manipulate the state of /conf/config.xml for plugins. You can only operate services within the constraints set by config.xml from the GUI.
Cheers,
Franco
Logged
Pecadis
Newbie
Posts: 6
Karma: 0
Re: Enable (not start) a Plugin from Shell/Commandline
«
Reply #2 on:
May 16, 2019, 07:53:38 pm »
Hi Franco,
thank you for your feedback. That's at least a point i can work with =).
BR
Pecadis
Logged
franco
Administrator
Hero Member
Posts: 17672
Karma: 1612
Re: Enable (not start) a Plugin from Shell/Commandline
«
Reply #3 on:
May 17, 2019, 10:06:02 am »
Hi Pecadis,
Having said this a short wrapper for editing config.xml might do what you want... worst case in PHP directly using the code. If you need help with that please let me know.
Cheers,
Franco
Logged
Pecadis
Newbie
Posts: 6
Karma: 0
Re: Enable (not start) a Plugin from Shell/Commandline
«
Reply #4 on:
May 17, 2019, 01:52:04 pm »
Hi Franco,
thanks for your offer, but i think that is easy to handle, basically just some File manipulation. A dedicated tool for that would be much more convenient. Wouldn't that be a nice feature?
maybe called "opnsense-plugin enable xxx"
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Enable (not start) a Plugin from Shell/Commandline
«
Reply #5 on:
May 17, 2019, 02:22:29 pm »
Isn't this just a single API call (for most of the plugins)?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Enable (not start) a Plugin from Shell/Commandline