All of them seem to run a wrapper script which ultimately runs another script in /usr/local/opnsense/scripts/firmware/$COMMAND.sh. actions_nf has a few actions which look related to firmware upgrades.The template for firmware updates is actions_nf. Actions which can be triggered from the GUI are stored in configd templates, which reside in /usr/local/opnsense/service/conf/actions.d/.When invoked without command line option, it just reports Nothing to do, but it is used by several of the scripts mentioned below. opnsense-update is, as per its documentation, the tool to update OPNsense.In order to also update the change log in the web GUI, also run /usr/local/opnsense/scripts/firmware/check.sh. usr/local/opnsense/scripts/firmware/update.sh will update to the latest available firmware.
0 Comments
Leave a Reply. |