Browse Source

Remove nfs if it exists

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

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

622
     mark_completed $FUNCNAME
622
     mark_completed $FUNCNAME
623
 }
623
 }
624
 
624
 
625
+function remove_nfs {
626
+    apt-get -yq remove nfs-kernel-server
627
+    apt-get -yq remove nfs-common
628
+}
629
+
625
 function setup_firewall {
630
 function setup_firewall {
626
     function_check create_completion_file
631
     function_check create_completion_file
627
     create_completion_file
632
     create_completion_file
692
     function_check proc_filesystem_settings
697
     function_check proc_filesystem_settings
693
     proc_filesystem_settings
698
     proc_filesystem_settings
694
 
699
 
700
+    function_check remove_nfs
701
+    remove_nfs
702
+
695
     function_check optimise_filesystem
703
     function_check optimise_filesystem
696
     optimise_filesystem
704
     optimise_filesystem
697
 
705