#! /bin/sh
# aoe-discover - trigger an AoE device discovery

zero=`basename $0`
f=/dev/etherd/discover

if ! test -w $f; then
	echo 1>&2 $zero: $f does not exist or is not writeable.
	exit 1
fi
echo > $f
