Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Reload config.xml without reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reload config.xml without reboot (Read 7141 times)
mimugmail
Hero Member
Posts: 6700
Karma: 473
Reload config.xml without reboot
«
on:
November 20, 2018, 07:13:08 am »
It's easy to revert a config.xml via SSH when just replacing the file itself or editing and finally reboot.
Is there a way to also do this without a reboot via CLI?
Just adding some stuff to config.xml and hitting save via UI overwrites it and via google you only find pfsense examples not fitting here.
Anyone?
Thx
Michael
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 15959
Karma: 1412
Re: Reload config.xml without reboot
«
Reply #1 on:
November 20, 2018, 07:14:34 am »
Option 11 from the menu?
or
# opnsense-shell reload
Logged
franco
Administrator
Hero Member
Posts: 15959
Karma: 1412
Re: Reload config.xml without reboot
«
Reply #2 on:
November 20, 2018, 07:15:03 am »
PS: Yes it won't reload everything. But it reloads all vital systems...
Logged
mimugmail
Hero Member
Posts: 6700
Karma: 473
Re: Reload config.xml without reboot
«
Reply #3 on:
November 20, 2018, 07:32:39 am »
Is there a documentation (needed??)
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 15959
Karma: 1412
Re: Reload config.xml without reboot
«
Reply #4 on:
November 20, 2018, 07:36:39 am »
Yes and no, the console menu may deserve a docs page in its entirety, but other than shortly describing what each option does there's not a lot (of surprising behaviour) to document.
Cheers,
Franco
Logged
mimugmail
Hero Member
Posts: 6700
Karma: 473
Re: Reload config.xml without reboot
«
Reply #5 on:
November 20, 2018, 07:41:28 am »
I meant opnsense-shell
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 15959
Karma: 1412
Re: Reload config.xml without reboot
«
Reply #6 on:
November 20, 2018, 07:47:37 am »
Same thing. There's also:
# man opnsense-shell
But it's currently missing the supported commands.
Logged
mimugmail
Hero Member
Posts: 6700
Karma: 473
Re: Reload config.xml without reboot
«
Reply #7 on:
November 20, 2018, 09:19:23 am »
OK, great. And all new MVC code also adds a UUID, how is it generated? Is there a logic behind I'm not aware of?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 15959
Karma: 1412
Re: Reload config.xml without reboot
«
Reply #8 on:
November 20, 2018, 09:57:26 am »
Now I'm confused.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Reload config.xml without reboot