#!/bin/sh
#
#ident	"@(#)dhcpmgr.sh	1.6	02/03/26 SMI"
#
# Copyright 1998-2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
DMDIR=/usr/sadm/admin/dhcpmgr
DLDIR=/usr/lib/inet/dhcp/svcadm
L10NDIR=/usr/share/lib/locale
WBEMDIR=/usr/sadm/lib/wbem

CLASSPATH=${L10NDIR}:${DMDIR}/dhcpmgr.jar:${DMDIR}/SUNWfiles.jar:${DMDIR}/SUNWbinfiles.jar:${DMDIR}/SUNWnisplus.jar:${DLDIR}/dhcpsvc.jar:${DLDIR}/dhcpcommon.jar:${WBEMDIR}/providerutility.jar
export CLASSPATH

LD_LIBRARY_PATH=${WBEMDIR}
export LD_LIBRARY_PATH

# add /usr/dt/bin so sdtwebclient will be available for help
PATH=${PATH}:/usr/dt/bin
export PATH

exec /usr/java1.2/bin/java -DDHCPBEANSDIR=${DMDIR} com.sun.dhcpmgr.client.DhcpmgrApplet
