buildiso: don't preconfigure vm.swappiness in sysctl

This commit is contained in:
udeved 2016-08-02 12:59:58 +02:00
parent 309bce9d06
commit 9995f83462

View file

@ -297,8 +297,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}
}