#!/bin/sh
#
# $FreeBSD: ports/japanese/sj3/files/sj3.sh.in,v 1.2 2007/09/09 07:08:07 edwin Exp $
#

# PROVIDE: sj3
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown

# Define these sj3_* variables in one of these files:
#	/etc/rc.conf
#	/etc/rc.conf.local
#	/etc/rc.conf.d/sj3
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
sj3_enable=${sj3_enable:-"NO"}		# Enable sj3
#sj3_program="%%PREFIX%%/sbin/sj3serv"	# Location of sj3

. %%RC_SUBR%%

name="sj3"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/sj3serv"

load_rc_config $name
run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1