blob: cbc95674cfd844e9b37068d43cf273473210f52a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
#
# $NetBSD: skkserv.sh,v 1.1.1.1 2002/05/31 12:59:58 seb 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
|