diff options
author | jmmv <jmmv> | 2003-07-31 12:33:03 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-07-31 12:33:03 +0000 |
commit | c3d5f5023d65296d322318a1baa7828bb7743a26 (patch) | |
tree | 864229bc0ac9cefba515adde3d32ef74b8efe213 /inputmethod/sj3-server-bin/files | |
parent | c6dd1e6c1e62c56f700489e4757e56614f607732 (diff) | |
download | pkgsrc-c3d5f5023d65296d322318a1baa7828bb7743a26.tar.gz |
Convert the rc.d script to the standard rc.subr format. Ok'ed by uebayasi@.
Bump PKGREVISION to 3.
Diffstat (limited to 'inputmethod/sj3-server-bin/files')
-rw-r--r-- | inputmethod/sj3-server-bin/files/sj3.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/inputmethod/sj3-server-bin/files/sj3.sh b/inputmethod/sj3-server-bin/files/sj3.sh new file mode 100644 index 00000000000..856749f5473 --- /dev/null +++ b/inputmethod/sj3-server-bin/files/sj3.sh @@ -0,0 +1,23 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: sj3.sh,v 1.1 2003/07/31 12:33:03 jmmv Exp $ +# +# PROVIDE: sj3 +# REQUIRE: LOGIN +# + +if [ -f /etc/rc.subr ]; then + . /etc/rc.subr +fi + +name="sj3" +rcvar="${name}" +command="@PREFIX@/bin/sj3serv" + +if [ -f /etc/rc.subr ]; then + load_rc_config "${name}" + run_rc_command "$1" +else + printf " sj3" + eval ${command} ${sj3_flags} ${command_args} +fi |