proc filesystem

This commit is contained in:
Bob Mottram 2017-06-26 13:32:17 +01:00
parent f12dbcce87
commit a3455877ca
1 changed files with 7 additions and 0 deletions

View File

@ -131,6 +131,10 @@ function separate_tmp_filesystem {
fi
}
function proc_filesystem_settings {
sed -i 's|proc /proc proc defaults |proc /proc proc defaults,nodev,nosuid |g' /etc/fstab
}
function remove_bluetooth {
rmmod -f bnep
rmmod -f bluetooth
@ -681,6 +685,9 @@ function setup_utils {
function_check separate_tmp_filesystem
separate_tmp_filesystem 150
function_check proc_filesystem_settings
proc_filesystem_settings
function_check optimise_filesystem
optimise_filesystem