mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-27 07:54:19 +00:00
Zenity dialog when vm.max_map_count is already set
This commit is contained in:
parent
fe324b1943
commit
d7dd89a630
@ -138,6 +138,7 @@ final_check() {
|
||||
mem_check() {
|
||||
# If vm.max_map_count is already set, no need to do anything
|
||||
if [ "$(cat /proc/sys/vm/max_map_count)" -ge 16777216 ]; then
|
||||
main_dialog --info --text="vm.max_map_count is already set to the optimal value. You're all set!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user