Check for Updates to OPNSense from the Command Line
As part of my morning routine, I have a few scripts I run to make sure my laptop and servers are up to date. Rather than login to the web GUI of my OPNSense firewall, I created an alias to check for updates from the CLI. Add the following line to .bash_aliases or directly to .bashrc: alias check-update='sudo /usr/local/opnsense/scripts/firmware/launcher.sh check' There are a few small, but interesting, additional steps required for the alias to work over a “non-interactive” SSH session. ...