#!/sbin/sh
#
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)dhcpagent	1.1	08/05/06 SMI"
#

if [ -c /dev/rawip ]; then
	. /etc/init.d/dhcpagent.pre_p2v $1
	exit $?
fi

case "$1" in
'start')

	# The DHCP client is currently started through /etc/init.d/network;
	# this directive is provided only for completeness.

	[ -x /sbin/dhcpagent ] && /sbin/dhcpagent
	;;

'stop')
	;;

*)
	echo "Usage: $0 { start | stop }"
	exit 1
	;;
esac
exit 0
