public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. c83d16146342d2a0d6ad8c101c82de71ab40d9e3
Date: Tue, 23 Feb 2016 19:44:57 +0000	[thread overview]
Message-ID: <20160223194457.69A0D1081BC7@git01.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2156 bytes --]

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(a)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(a)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

                 reply	other threads:[~2016-02-23 19:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160223194457.69A0D1081BC7@git01.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox