#!/bin/sh #RCUPDATE:2 3 4:80:This line is required for script management . /etc/rc.d/config/functions SERVICE="gpm" opts="start stop" start() { ebegin "Starting $SERVICE" ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE} eend $? } stop() { ebegin "Stopping $SERVICE" if [ -e ${SVCDIR}/control/${SERVICE} ] then /usr/bin/svc -dx ${SVCDIR}/control/${SERVICE} rm ${SVCDIR}/control/${SERVICE} fi eend $? } doservice ${@}