Disable tipc

This commit is contained in:
Bob Mottram 2016-11-30 17:24:05 +00:00
parent 6b4dba4771
commit b88a3e867b
1 changed files with 7 additions and 0 deletions

View File

@ -440,6 +440,10 @@ function disable_rds {
echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
}
function disable_tipc {
echo "install tipc /bin/true" > /etc/modprobe.d/tipc.conf
}
function lockdown_permissions {
# All commands owned by root
if [ -d /bin ]; then
@ -557,6 +561,9 @@ function setup_utils {
read_config_param "PROJECT_REPO"
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
function_check disable_tipc
disable_tipc
function_check disable_rds
disable_rds