summaryrefslogtreecommitdiff
path: root/package/ubuntu-10.10/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/ubuntu-10.10/postinst')
-rwxr-xr-xpackage/ubuntu-10.10/postinst13
1 files changed, 0 insertions, 13 deletions
diff --git a/package/ubuntu-10.10/postinst b/package/ubuntu-10.10/postinst
deleted file mode 100755
index ed50fde4..00000000
--- a/package/ubuntu-10.10/postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-echo "Setting required kernel parameters."
-# I actually do it three times, hoping to hammer this into Ubuntu's dense skull.
-sysctl -w kernel.randomize_va_space=0
-sysctl -w kernel.yama.ptrace_scope=0
-if grep -q "kernel.yama.ptrace_scope=0" /etc/sysctl.conf
-then
- echo "Already installed into /etc/sysctl.conf, doing nothing."
-else
- echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf
- echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
-fi
-