Merge pull request #11101 from Security-Onion-Solutions/TOoSmOotH-patch-4

Fix Hotfix
This commit is contained in:
Mike Reeves
2023-08-18 15:45:08 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -569,6 +569,9 @@ upgrade_check() {
# Let's make sure we actually need to update.
NEWVERSION=$(cat $UPDATE_DIR/VERSION)
HOTFIXVERSION=$(cat $UPDATE_DIR/HOTFIX)
if [ ! -f /etc/sohotfix ]; then
touch /etc/sohotfix
fi
[[ -f /etc/sohotfix ]] && CURRENTHOTFIX=$(cat /etc/sohotfix)
if [ "$INSTALLEDVERSION" == "$NEWVERSION" ]; then
echo "Checking to see if there are hotfixes needed"

View File

@@ -577,6 +577,7 @@ if ! [[ -f $install_opt_file ]]; then
if [[ $waitforstate ]]; then
touch /root/accept_changes
touch /etc/sohotfix
make_some_dirs
percentage=0
es_heapsize