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