Browse Source

Remove nfs if it somehow gets installed

Bob Mottram 7 years ago
parent
commit
a79d279ebf
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-utils-setup

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

@@ -488,6 +488,9 @@ function disable_ctrl_alt_del {
488 488
 }
489 489
 
490 490
 function lockdown_permissions {
491
+    if [ -d /etc/fs/nfs ]; then
492
+        remove_nfs
493
+    fi
491 494
     if [ -d /root/.npm ]; then
492 495
         find /root/.npm -name package.json -exec chmod 700 {} \;
493 496
     fi