head	1.4;
access;
symbols
	gentoo_1_0_rc5:1.3;
locks; strict;
comment	@# @;


1.4
date	2002.03.12.15.43.13;	author g2boojum;	state dead;
branches;
next	1.3;

1.3
date	2001.04.26.03.55.58;	author achim;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.26.03.02.33;	author achim;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.26.03.01.20;	author achim;	state Exp;
branches;
next	;


desc
@@


1.4
log
@zappo
@
text
@#!/bin/sh
#RCUPDATE:3 4:99:This line is required for script management

. /etc/rc.d/config/functions

SERVICE=gentool
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}/log
		/usr/bin/svc -dx ${SVCDIR}/control/${SERVICE}
		rm ${SVCDIR}/control/${SERVICE}
	fi
	eend $?
}

doservice ${@@}

@


1.3
log
@Various fixes
@
text
@@


1.2
log
@*** empty log message ***
@
text
@d20 1
@


1.1
log
@Warrens gentool webadmin interface
@
text
@d2 1
a2 1
#RCUPDATE:3 4:72:This line is required for script management
@

