From 06b4ac03c2333fe516589c97fa2febce95e3d861 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Thu, 17 Dec 2009 23:25:55 +0000 Subject: - missed rc.d file --- japanese/multiskkserv/files/multiskkserv.in | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 japanese/multiskkserv/files/multiskkserv.in (limited to 'japanese') diff --git a/japanese/multiskkserv/files/multiskkserv.in b/japanese/multiskkserv/files/multiskkserv.in new file mode 100644 index 000000000000..fa430dbb2239 --- /dev/null +++ b/japanese/multiskkserv/files/multiskkserv.in @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: multiskkserv +# REQUIRE: LOGIN + +# +# Add the following lines to /etc/rc.conf to enable multiskkserv: +# +#multiskkserv_enable="YES" +# +# See `%%PREFIX%%/sbin/multiskkserv -h` for flags +# + +. %%RC_SUBR%% + +name=multiskkserv +rcvar=`set_rcvar` + +command=%%PREFIX%%/sbin/multiskkserv + +# set defaults + +multiskkserv_enable=${multiskkserv_enable:-"NO"} +multiskkserv_flags=${multiskkserv_flags:-"%%PREFIX%%/%%SKKDIR%%/SKK-JISYO.%%SKKJISYO_TYPE%%.cdb &"} + +load_rc_config ${name} +run_rc_command "$1" -- cgit