Browse Source

proc filesystem

Bob Mottram 7 years ago
parent
commit
a3455877ca
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/freedombone-utils-setup

+ 7
- 0
src/freedombone-utils-setup View File

131
     fi
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
 function remove_bluetooth {
138
 function remove_bluetooth {
135
     rmmod -f bnep
139
     rmmod -f bnep
136
     rmmod -f bluetooth
140
     rmmod -f bluetooth
681
     function_check separate_tmp_filesystem
685
     function_check separate_tmp_filesystem
682
     separate_tmp_filesystem 150
686
     separate_tmp_filesystem 150
683
 
687
 
688
+    function_check proc_filesystem_settings
689
+    proc_filesystem_settings
690
+
684
     function_check optimise_filesystem
691
     function_check optimise_filesystem
685
     optimise_filesystem
692
     optimise_filesystem
686
 
693