mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
base-files: reduce vm.min_free_kbytes for devices with 32M RAM
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
4fec58be09
commit
25dab5d217
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user