[21.7.8] - CLI update question

Started by R1mSG, May 02, 2022, 10:26:11 AM

Previous topic - Next topic
Hey,

how can I check for updates via the CLI?
I would need the same function as under System: Firmware: "Check for Updates".

I have already tried with the following commands:
/usr/local/opnsense/scripts/firmware/launcher.sh check
/usr/local/opnsense/scripts/firmware/check.sh

The problem is that the new update 21.1 is not found at the end.
Somehow it only works via the WEB GUI.

---

OPNsense 21.7.8-amd64
FreeBSD 12.1-RELEASE-p22-HBSD
OpenSSL 1.1.1m 14 Dec 2021


> The problem is that the new update 21.1 is not found at the end.

I think you mean "22.1" and for CLI you type "22.1" to upgrade. Simple as that. ;)


Cheers,
Franco