Merge pull request #9567 from Security-Onion-Solutions/mkr24

Fix nsm
This commit is contained in:
Mike Reeves
2023-01-12 10:43:42 -05:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -588,7 +588,6 @@ if ! [[ -f $install_opt_file ]]; then
whiptail_setup_complete
else
touch /root/accept_changes
mkdir -p /nsm
es_heapsize
ls_heapsize
generate_interface_vars

View File

@@ -1,7 +1,7 @@
#!/bin/bash
SOVERSION=$(cat ../VERSION)
mkdir -p /nsm
total_mem=$(grep MemTotal /proc/meminfo | awk '{print $2}' | sed -r 's/.{3}$//')
export total_mem