浏览代码

Remove nfs if it exists

Bob Mottram 7 年前
父节点
当前提交
232de527f6
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
    0
      src/freedombone-utils-setup

+ 8
- 0
src/freedombone-utils-setup 查看文件

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