1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/japanese/skkserv/files/skkserv.in
Tijl Coosemans 80fc82be96 There's a warning during boot if the skkserv_enable rc variable is
undefined so set it to "NO" by default.

PR:		ports/181729
Approved by:	maintainer timeout (3 months)
2013-12-03 15:05:17 +00:00

20 lines
280 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: skkserv
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
. /etc/rc.subr
name=skkserv
rcvar=skkserv_enable
command=%%PREFIX%%/sbin/skkserv
: ${skkserv_enable:="NO"}
: ${skkserv_flags:="-a 127.0.0.1 -u skkserv"}
load_rc_config ${name}
run_rc_command $1