Remove nfs if it somehow gets installed

This commit is contained in:
Bob Mottram 2017-06-26 17:47:53 +01:00
parent 232de527f6
commit a79d279ebf
1 changed files with 3 additions and 0 deletions

View File

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