Bob Mottram 8 vuotta sitten
vanhempi
commit
c9f6fbd54f
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup Näytä tiedosto

428
     ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target
428
     ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target
429
 }
429
 }
430
 
430
 
431
+function disable_dccp {
432
+    echo "install dccp /bin/true" > /etc/modprobe.d/dccp.conf
433
+}
434
+
431
 function lockdown_permissions {
435
 function lockdown_permissions {
432
     # All commands owned by root
436
     # All commands owned by root
433
     if [ -d /bin ]; then
437
     if [ -d /bin ]; then
545
     read_config_param "PROJECT_REPO"
549
     read_config_param "PROJECT_REPO"
546
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
550
     write_config_param "PROJECT_REPO" "$PROJECT_REPO"
547
 
551
 
552
+    function_check disable_dccp
553
+    disable_dccp
554
+
548
     function_check disable_ctrl_alt_del
555
     function_check disable_ctrl_alt_del
549
     disable_ctrl_alt_del
556
     disable_ctrl_alt_del
550
 
557