diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-05-09 14:42:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-05-09 14:42:42 +0000 |
commit | b95137e0d400cc482fd7edf4538c53c02f8a1428 (patch) | |
tree | 5701e2f51fdbd147f6bb7ee9c16d9724c92e6633 | |
parent | Adding recommends to procps. (diff) | |
download | open-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-x | debian/open-infrastructure-container-tools.postinst | 5 |
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) |