Bob Mottram před 8 roky
rodič
revize
21a3edf51a
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup Zobrazit soubor

@@ -432,6 +432,10 @@ function disable_dccp {
432 432
     echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
433 433
 }
434 434
 
435
+function disable_sctp {
436
+    echo "install sctp /bin/true" > /etc/modprobe.d/sctp.conf
437
+}
438
+
435 439
 function lockdown_permissions {
436 440
     # All commands owned by root
437 441
     if [ -d /bin ]; then
@@ -552,6 +556,9 @@ function setup_utils {
552 556
     function_check disable_dccp
553 557
     disable_dccp
554 558
 
559
+    function_check disable_sctp
560
+    disable_sctp
561
+
555 562
     function_check disable_ctrl_alt_del
556 563
     disable_ctrl_alt_del
557 564