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 a0daec071e3afe77919120d74f1c8490e3569289..3a497fb66c4f0fb6748ca7c3ba316ee2627f4c74 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