Random Project

Great plugin

We run tons of nfs mounts across many machines and those mounts sometimes change based on needs so I made a slight modification to avoid the need to keep track of the mountpoints to provide as args. Especially since it’s likely no one will tell me beforehand.

Before the while case loop I did:

MPS=`grep nfs /etc/fstab | grep -v ‘^#’ | awk ‘{print $2}’ | tr ‘n’ ‘ ‘`

then commented out the /*MPS line in the case block.