aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-16 16:44:28 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-16 16:44:45 +0200
commit25dab5d217715300dc609df07b56e5b73cefdfc1 (patch)
tree2c75b4f30dcb6c0baf6a8b36921bbe35b4e2044d /package/base-files/files/etc
parent4fec58be09c5077b1583b88cd015457eedd7086e (diff)
downloadupstream-25dab5d217715300dc609df07b56e5b73cefdfc1.tar.gz
upstream-25dab5d217715300dc609df07b56e5b73cefdfc1.tar.bz2
upstream-25dab5d217715300dc609df07b56e5b73cefdfc1.zip
base-files: reduce vm.min_free_kbytes for devices with 32M RAM
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl
index a0daec071e..3a497fb66c 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