#!/bin/sh
#
# Deny ifup if `/' mounted via NFS

if [ "$IFACE" = eth0 ]; then
	if (mount|grep -q nfs); then
		echo "$0: NFS mounted"
		exit 1
	fi
fi

exit 0

