summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-09 14:42:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-09 14:42:42 +0000
commitb95137e0d400cc482fd7edf4538c53c02f8a1428 (patch)
tree5701e2f51fdbd147f6bb7ee9c16d9724c92e6633
parentAdding recommends to procps. (diff)
downloadopen-infrastructure-compute-tools-b95137e0d400cc482fd7edf4538c53c02f8a1428.tar.xz
open-infrastructure-compute-tools-b95137e0d400cc482fd7edf4538c53c02f8a1428.zip
Applying sysctl settings in postinst.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/open-infrastructure-container-tools.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst
index f83879c..63530b2 100755
--- a/debian/open-infrastructure-container-tools.postinst
+++ b/debian/open-infrastructure-container-tools.postinst
@@ -102,6 +102,11 @@ EOF
< "${CONFFILE}" > "${CONFFILE}.tmp"
mv -f "${CONFFILE}.tmp" "${CONFFILE}"
+
+ if [ -x /sbin/sysctl ]
+ then
+ sysctl -q -p /etc/sysctl.d/zz-container-tools.conf
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)