base-files: reduce vm.min_free_kbytes for devices with 32M RAM
authorFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2016 14:44:28 +0000 (16:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2016 14:44:45 +0000 (16:44 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/base-files/files/etc/init.d/sysctl

index a0daec0..3a497fb 100755 (executable)
@@ -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