Selaa lähdekoodia

Remove nfs if it exists

Bob Mottram 7 vuotta sitten
vanhempi
commit
232de527f6
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8
    0
      src/freedombone-utils-setup

+ 8
- 0
src/freedombone-utils-setup Näytä tiedosto

@@ -622,6 +622,11 @@ function create_usb_canary {
622 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 630
 function setup_firewall {
626 631
     function_check create_completion_file
627 632
     create_completion_file
@@ -692,6 +697,9 @@ function setup_utils {
692 697
     function_check proc_filesystem_settings
693 698
     proc_filesystem_settings
694 699
 
700
+    function_check remove_nfs
701
+    remove_nfs
702
+
695 703
     function_check optimise_filesystem
696 704
     optimise_filesystem
697 705