13 lines
284 B
Bash
Executable File
13 lines
284 B
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "Set in: 010_sysctl.sh"
|
|
|
|
# sysctl -w vm.max_map_count=262144
|
|
|
|
# if grep -q '^\(vm.max_map_count=\)' /etc/sysctl.conf
|
|
# then
|
|
# sed -i 's,^\(vm.max_map_count=\).*,\1'262144',' /etc/sysctl.conf
|
|
# else
|
|
# echo 'vm.max_map_count=262144' >> /etc/sysctl.conf
|
|
# fi
|
|
|