浏览代码

Disable rds

Bob Mottram 8 年前
父节点
当前提交
6b4dba4771
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-utils-setup

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

436
     echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
436
     echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
437
 }
437
 }
438
 
438
 
439
+function disable_rds {
440
+    echo "install rds /bin/true" > /etc/modprobe.d/rds.conf
441
+}
442
+
439
 function lockdown_permissions {
443
 function lockdown_permissions {
440
     # All commands owned by root
444
     # All commands owned by root
441
     if [ -d /bin ]; then
445
     if [ -d /bin ]; then
553
     read_config_param "PROJECT_REPO"
557
     read_config_param "PROJECT_REPO"
554
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
558
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
555
 
559
 
560
+    function_check disable_rds
561
+    disable_rds
562
+
556
     function_check disable_dccp
563
     function_check disable_dccp
557
     disable_dccp
564
     disable_dccp
558
 
565