diff options
-rw-r--r-- | japanese/multiskkserv/files/multiskkserv.in | 30 |
1 files changed, 30 insertions, 0 deletions
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" |