diff options
Diffstat (limited to 'debian/openssh-server.init')
-rw-r--r-- | debian/openssh-server.init | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/openssh-server.init b/debian/openssh-server.init index e8b446046..62bcc21d4 100644 --- a/debian/openssh-server.init +++ b/debian/openssh-server.init | |||
@@ -18,17 +18,10 @@ test -x /usr/sbin/sshd || exit 0 | |||
18 | 18 | ||
19 | umask 022 | 19 | umask 022 |
20 | 20 | ||
21 | export SSHD_OOM_ADJUST=-17 | ||
22 | if test -f /etc/default/ssh; then | 21 | if test -f /etc/default/ssh; then |
23 | . /etc/default/ssh | 22 | . /etc/default/ssh |
24 | fi | 23 | fi |
25 | 24 | ||
26 | # Are we in a virtual environment that doesn't support modifying | ||
27 | # /proc/self/oom_adj? | ||
28 | if grep -q 'envID:.*[1-9]' /proc/self/status; then | ||
29 | unset SSHD_OOM_ADJUST | ||
30 | fi | ||
31 | |||
32 | . /lib/lsb/init-functions | 25 | . /lib/lsb/init-functions |
33 | 26 | ||
34 | if [ -n "$2" ]; then | 27 | if [ -n "$2" ]; then |