forked from mirrored-repos/manjaro-tools
buildiso: don't preconfigure vm.swappiness in sysctl
This commit is contained in:
parent
797b504044
commit
73ca0ec123
1 changed files with 2 additions and 2 deletions
|
@ -298,8 +298,8 @@ configure_sysctl(){
|
|||
msg2 "Configuring sysctl ..."
|
||||
touch $1/etc/sysctl.conf
|
||||
local conf=$1/etc/sysctl.d/100-manjaro.conf
|
||||
echo '# Virtual memory setting (swap file or partition)' > ${conf}
|
||||
echo 'vm.swappiness = 30' >> ${conf}
|
||||
# echo '# Virtual memory setting (swap file or partition)' > ${conf}
|
||||
# echo 'vm.swappiness = 30' >> ${conf}
|
||||
echo '# Enable the SysRq key' >> ${conf}
|
||||
echo 'kernel.sysrq = 1' >> ${conf}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue