Remove nfs if it somehow gets installed
This commit is contained in:
parent
232de527f6
commit
a79d279ebf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue