buildiso: don't preconfigure vm.swappiness in sysctl

This commit is contained in:
udeved 2016-08-02 12:59:58 +02:00 committed by Philip
parent 797b504044
commit 73ca0ec123

View file

@ -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}
}