#!/bin/sh
if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | grep -q "^/ nfs$"; then
	exit 0
fi
ip addr flush eth0
ifdown -a
