Remove nfs if it exists

This commit is contained in:
Bob Mottram 2017-06-26 17:17:01 +01:00
parent 4a8144e335
commit 232de527f6
1 changed files with 8 additions and 0 deletions

View File

@ -622,6 +622,11 @@ function create_usb_canary {
mark_completed $FUNCNAME
}
function remove_nfs {
apt-get -yq remove nfs-kernel-server
apt-get -yq remove nfs-common
}
function setup_firewall {
function_check create_completion_file
create_completion_file
@ -692,6 +697,9 @@ function setup_utils {
function_check proc_filesystem_settings
proc_filesystem_settings
function_check remove_nfs
remove_nfs
function_check optimise_filesystem
optimise_filesystem