projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fec58b
)
base-files: reduce vm.min_free_kbytes for devices with 32M RAM
author
Felix Fietkau
<nbd@nbd.name>
Fri, 16 Sep 2016 14:44:28 +0000
(16:44 +0200)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/sysctl
b/package/base-files/files/etc/init.d/sysctl
index a0daec071e3afe77919120d74f1c8490e3569289..3a497fb66c4f0fb6748ca7c3ba316ee2627f4c74 100755
(executable)
--- 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