[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfire-scm
Subject:    [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 33df321e1b0eea578250af4d5155a2
From:       git () ipfire ! org (Arne Fitzenreiter)
Date:       2014-05-19 18:13:13
Message-ID: 20140519181313.E05F42112C () argus ! ipfire ! org
[Download RAW message or body]

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, master has been updated
       via  33df321e1b0eea578250af4d5155a23f8891076a (commit)
      from  3555cff1028e046dea96b7f9c98fb982b884ca54 (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 33df321e1b0eea578250af4d5155a23f8891076a
Author: Arne Fitzenreiter <arne_f@ipfire.org>
Date:   Mon May 19 20:12:00 2014 +0200

    Revert "sshd: add fallback for oom setings with old kernel."
    
    This reverts commit 1566fb6b5531247bd60d291716da1d5a017e9dce.
    xen kernel was dropped and in the code are missing brackets.

-----------------------------------------------------------------------

Summary of changes:
 src/initscripts/init.d/sshd | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Difference in files:
diff --git a/src/initscripts/init.d/sshd b/src/initscripts/init.d/sshd
index 1d61a63..0ed8661 100644
--- a/src/initscripts/init.d/sshd
+++ b/src/initscripts/init.d/sshd
@@ -43,10 +43,7 @@ case "$1" in
 	(
 		sleep 3
 		pid=$(cat /var/run/sshd.pid 2>/dev/null)
-		[ -n "${pid}" ] && [ -e "/proc/${pid}/oom_score_adj" ] && \
-					echo "-16" > "/proc/${pid}/oom_score_adj" || \
-				[ -e "/proc/${pid}/oom_adj" ] && \
-					echo "-16" > "/proc/${pid}/oom_adj"
+		[ -n "${pid}" ] && echo "-16" > "/proc/${pid}/oom_score_adj"
 	) &
         ;;
 


hooks/post-receive
--
IPFire 2.x development tree
_______________________________________________
IPFire-SCM mailing list
IPFire-SCM@lists.ipfire.org
http://lists.ipfire.org/mailman/listinfo/ipfire-scm
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic