Disable dccp
This commit is contained in:
parent
82a57bc41c
commit
c9f6fbd54f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue