Quellcode durchsuchen

proc filesystem

Bob Mottram vor 7 Jahren
Ursprung
Commit
a3455877ca
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup Datei anzeigen

@@ -131,6 +131,10 @@ function separate_tmp_filesystem {
131 131
     fi
132 132
 }
133 133
 
134
+function proc_filesystem_settings {
135
+    sed -i 's|proc /proc proc defaults |proc /proc proc defaults,nodev,nosuid |g' /etc/fstab
136
+}
137
+
134 138
 function remove_bluetooth {
135 139
     rmmod -f bnep
136 140
     rmmod -f bluetooth
@@ -681,6 +685,9 @@ function setup_utils {
681 685
     function_check separate_tmp_filesystem
682 686
     separate_tmp_filesystem 150
683 687
 
688
+    function_check proc_filesystem_settings
689
+    proc_filesystem_settings
690
+
684 691
     function_check optimise_filesystem
685 692
     optimise_filesystem
686 693