From c9f6fbd54fd7153018f2268981a053e29215ff0f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Nov 2016 17:15:43 +0000 Subject: [PATCH] Disable dccp --- src/freedombone-utils-setup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 0542323c..99fc57a7 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -428,6 +428,10 @@ function disable_ctrl_alt_del { ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target } +function disable_dccp { + echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf +} + function lockdown_permissions { # All commands owned by root if [ -d /bin ]; then @@ -545,6 +549,9 @@ function setup_utils { read_config_param "PROJECT_REPO" write_config_param "PROJECT_REPO" "$PROJECT_REPO" + function_check disable_dccp + disable_dccp + function_check disable_ctrl_alt_del disable_ctrl_alt_del