#!/bin/bash

. ${TOOLKIT}-functions.sh

server=$(jtconf dhcp.server 2>/dev/null) || exit 1	# not needed
myself=$(jtconf network.hostname)
domain=$(jtconf network.domain)

[ $server == $myself -o $server == $myself.$domain ] || {
	echo " dhcp server is '$server', not by business"
	exit 1		# not for me
}

exit 0
