init-functions: enable autoramdisk with 400MB

The 512MB raspberry pi reserve some memory for buffers and gpu
so there are a bit less than 490 MB free.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2016-02-23 20:01:30 +01:00
parent 38956241bb
commit c83d161463
2 changed files with 2 additions and 1 deletions

View File

@@ -728,7 +728,7 @@ use_ramdisk() {
2)
local mem_avail="$(mem_amount)"
if [ ${mem_avail} -ge 490 ]; then
if [ ${mem_avail} -ge 400 ]; then
return 0
else
return 1