diff options
author | wiz <wiz@pkgsrc.org> | 2001-03-16 18:16:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-03-16 18:16:38 +0000 |
commit | b3bdff0440c6e092c53d6982949d41b72b048a78 (patch) | |
tree | b7198b7b18ddd6d9f008507b79c1fc3a9c9e22f7 /japanese/canna-lib | |
parent | 7ce85a757cec19db95272d0544760fcbf4c47d2d (diff) | |
download | pkgsrc-b3bdff0440c6e092c53d6982949d41b72b048a78.tar.gz |
Add rc.d-startup script provided by Masao Uebayashi in pkg/11977.
Diffstat (limited to 'japanese/canna-lib')
-rw-r--r-- | japanese/canna-lib/files/canna | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/japanese/canna-lib/files/canna b/japanese/canna-lib/files/canna new file mode 100644 index 00000000000..9c7c81875ff --- /dev/null +++ b/japanese/canna-lib/files/canna @@ -0,0 +1,25 @@ +#! /bin/sh +# +# $NetBSD: canna,v 1.1 2001/03/16 18:16:38 wiz Exp $ +# +# PROVIDE: canna +# REQUIRE: DAEMON + +name="canna" +command_start="@PREFIX@/sbin/cannaserver" +pidfile="" + +cmd=${1:-start} + +case ${cmd} in +start) + if [ -x ${command_start} ]; then + echo "Starting ${name}." + ${command_start} >/dev/null 2>&1 + fi + ;; +*) + : + ;; +esac +exit 0 |