projects
/
kernel-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conflicts sa starim cn kernelima.
[kernel-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
a36cf36
..
e6d7b0a
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-27,6
+27,9
@@
case "$1" in
;;
esac
;;
esac
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
# import CN-functions
. /usr/share/carnet-tools/functions.sh
# import CN-functions
. /usr/share/carnet-tools/functions.sh
@@
-326,7
+329,6
@@
fi
rm -f /etc/sysctl.conf.$$
cat > /etc/sysctl.conf.$$ <<'EOF'
kernel.maps_protect=1
rm -f /etc/sysctl.conf.$$
cat > /etc/sysctl.conf.$$ <<'EOF'
kernel.maps_protect=1
-kernel.exec-shield=0
net.core.rmem_default=1048576
net.core.wmem_default=1048576
net.ipv4.conf.all.accept_redirects=0
net.core.rmem_default=1048576
net.core.wmem_default=1048576
net.ipv4.conf.all.accept_redirects=0