瀏覽代碼

Disable tipc

Bob Mottram 8 年之前
父節點
當前提交
b88a3e867b
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup 查看文件

440
     echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
440
     echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
441
 }
441
 }
442
 
442
 
443
+function disable_tipc {
444
+    echo "install tipc /bin/true" > /etc/modprobe.d/tipc.conf
445
+}
446
+
443
 function lockdown_permissions {
447
 function lockdown_permissions {
444
     # All commands owned by root
448
     # All commands owned by root
445
     if [ -d /bin ]; then
449
     if [ -d /bin ]; then
557
     read_config_param "PROJECT_REPO"
561
     read_config_param "PROJECT_REPO"
558
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
562
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
559
 
563
 
564
+    function_check disable_tipc
565
+    disable_tipc
566
+
560
     function_check disable_rds
567
     function_check disable_rds
561
     disable_rds
568
     disable_rds
562
 
569