Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Determine Latest OPNsense version?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Determine Latest OPNsense version? (Read 1329 times)
slair
Newbie
Posts: 7
Karma: 0
Determine Latest OPNsense version?
«
on:
May 09, 2020, 01:11:27 am »
Is there a way outside of the OPNsense admin interface to check if a new update is available? We would like to write a script that can dynamically determine if there has been a new patch released for the latest version of OPNsense.
We're just looking for how we can check for a new update, we can handle the scripting part after that!
Thanks all!
Sean
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Determine Latest OPNsense version?
«
Reply #1 on:
May 11, 2020, 05:30:08 am »
For each major (i.e. 20.1) you need to crawl the mirror:
https://pkg.opnsense.org/FreeBSD:11:amd64/20.1/latest/All/
Glob pattern is "opnsense-[0-9]*.txz". The current version is the stuff between "opnsense-" and ".txz".
In 20.7, FreeBSD ABI changes to FreeBSD:12:amd64.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Determine Latest OPNsense version?