Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

version_check - Script to display recommended and latest Jumbo Hotfix Accumulators

bernhard_m
Contributor

This script shows the recommended and latest versions for JHAs

Screenshot 2023-09-20 at 12.26.07.png

 

 


   #!/bin/bash if [ -f /etc/profile.d/CP.sh ]; then CURL="curl_cli -s" else CURL="curl -s" fi clear; printf " # Recommended & Latest Jumbo Hotfix Accumulators per version Version | Recommended | Latest --------+-------------+--------- " for VER in R80.40 R81 R81.10 R81.20; do if [ $VER = "R81" ]; then VER2="R81.00" else VER2=$VER fi TAKE_URL="http://sc1.checkpoint.com/documents/Jumbo_HFA/$VER/$VER2/" $CU
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




(1)
4 Replies

the_rock
Legend
Legend

That looks nice, will try it in my lab.

Cheers,

Andy

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

the_rock
Legend
Legend

I think there is an issue with below, let me see why.

Andy

line 17: curl: command not found

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

bernhard_m
Contributor

If you want to run this script on a Gaia System you have to change CURL variable from "curl -s" to "curl_cli -s".
I changed the script to automatically detect which binary to use.

hth, Bernhard

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


(1)

the_rock
Legend
Legend

Yup, got it, thanks  @bernhard_m 

Cheers mate.

Andy

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos