From: Felix Fietkau Date: Fri, 16 Sep 2016 14:44:28 +0000 (+0200) Subject: base-files: reduce vm.min_free_kbytes for devices with 32M RAM X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=25dab5d217715300dc609df07b56e5b73cefdfc1;p=openwrt%2Fstaging%2Fblogic.git base-files: reduce vm.min_free_kbytes for devices with 32M RAM Signed-off-by: Felix Fietkau --- diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl index a0daec071e3a..3a497fb66c4f 100755 --- a/package/base-files/files/etc/init.d/sysctl +++ b/package/base-files/files/etc/init.d/sysctl @@ -10,7 +10,7 @@ set_vm_min_free() { elif [ "$mem" -gt 32768 ]; then # 64M val=8192 elif [ "$mem" -gt 16384 ]; then # 32M - val=4096 + val=1024 else return fi