7d7d16056f
as the default install template provides the right standard information (or can be extended in a common way if needed ;). Bump PKGREVISION to 2.
26 lines
400 B
Bash
26 lines
400 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: skkserv.sh,v 1.2 2003/07/29 22:08:29 jmmv Exp $
|
|
#
|
|
# PROVIDE: skkserv
|
|
# REQUIRE: DAEMON
|
|
|
|
name="skkserv"
|
|
command="@PREFIX@/libexec/skkserv"
|
|
pidfile=""
|
|
|
|
cmd=${1:-start}
|
|
|
|
case ${cmd} in
|
|
start)
|
|
if [ -x ${command} ]; then
|
|
echo "Starting ${name}."
|
|
${command} > /dev/null 2>&1
|
|
fi
|
|
;;
|
|
*)
|
|
if [ -x ${command} ]; then
|
|
${command} ${cmd} > /dev/null 2>&1
|
|
fi
|
|
;;
|
|
esac
|