Using the Untangle firewall, you may want to know of updates available but not have them automatically applied.  I wrote a quick script to do just that which daily, emails you the result.  It gets the latest version of the of the script from the server and updates itself accordingly.

 

To install it, do a su to go root, or preface each of the following commands with a sudo, followed by:

cd /root/

mkdir versionmonitor

cd versionmonitor

wget http://davebour.com/misc/dumpversion.sh

chmod +x dumpversion.sh

./dumpversion.sh

 

If you get errors about locale and en_US…it means your locales has not been configured.  Several Untangle systems I’ve worked on are missing the localedef file in /usr/bin/.  To fix, enter the following:

aptitude reinstall glib6

dpkg-reconfigure locales

locale-gen

Now rerun the dumpversion.sh file.  It will reinstall a cron.daily file to get the latest version.

 

 


 

Verified by MonsterInsights