NFS mounting
Found by Cesar Prados:
rootloc=`mount | grep rootfs | grep nfs`
if [ "$rootloc" != "" ]; then
echo "Running via NFS, no ifplugd."
else
echo "Starting ifplugd..."
/usr/sbin/ifplugd -I -f -i eth0
fi
rootloc is always empty, it does find a rootfs "mount | grep rootfs" but
not a
"mount | grep rootfs | grep nfs", the string is empty, and then it goes
to starting
ifplugd and the nfs is gone!