aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-12-18 07:25:55 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-12-18 07:25:55 +0800
commit06b4ac03c2333fe516589c97fa2febce95e3d861 (patch)
tree42302a70ae769fc3776a7c3235d4f50b37d81a79 /japanese
parentf0df19e5b5d36693954a5531c988f6c5084d26ed (diff)
downloadfreebsd-ports-gnome-06b4ac03c2333fe516589c97fa2febce95e3d861.tar.gz
freebsd-ports-gnome-06b4ac03c2333fe516589c97fa2febce95e3d861.tar.zst
freebsd-ports-gnome-06b4ac03c2333fe516589c97fa2febce95e3d861.zip
- missed rc.d file
Diffstat (limited to 'japanese')
-rw-r--r--japanese/multiskkserv/files/multiskkserv.in30
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"