This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via c83d16146342d2a0d6ad8c101c82de71ab40d9e3 (commit) from 38956241bb0644480887aeb9a399e3d9ba2fc3f4 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c83d16146342d2a0d6ad8c101c82de71ab40d9e3 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Tue Feb 23 20:01:30 2016 +0100
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
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/99/filelists/files | 1 + src/initscripts/init.d/functions | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Difference in files: diff --git a/config/rootfiles/core/99/filelists/files b/config/rootfiles/core/99/filelists/files index 5fe6b73..1202ea8 100644 --- a/config/rootfiles/core/99/filelists/files +++ b/config/rootfiles/core/99/filelists/files @@ -3,6 +3,7 @@ etc/issue etc/dracut.conf etc/ppp/ip-up etc/rc.d/init.d/firewall +etc/rc.d/init.d/functions etc/rc.d/init.d/networking/dhcpcd.exe etc/modprobe.d/nf_conntrack.conf srv/web/ipfire/cgi-bin/logs.cgi/firewalllog.dat diff --git a/src/initscripts/init.d/functions b/src/initscripts/init.d/functions index 0d9b013..c00f659 100644 --- a/src/initscripts/init.d/functions +++ b/src/initscripts/init.d/functions @@ -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
hooks/post-receive -- IPFire 2.x development tree