#!/usr/bin/sh
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#

PATH="/usr/bin:/usr/sbin"
export PATH

if [ "${ROOTDIR}" = "/" ]; then
	VER_LINK="/etc/opt/SUNWSMS/SMS"
	INITD="/etc/init.d"
else
	VER_LINK="${ROOTDIR}/etc/opt/SUNWSMS/SMS"
	INITD="${ROOTDIR}/etc/init.d"
fi

if [ -f "${VER_LINK}/startup/sms" ]; then
	cp ${VER_LINK}/startup/sms ${INITD}/sms
fi

