blob: 3f263a4f9246c75516a0d3f68598123e4d141990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
#
# $NetBSD: instiki.sh,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $
#
# PROVIDE: instiki
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="instiki"
rcvar=${name}
command="@PREFIX@/share/instiki/${name}"
command_args="-t @VARBASE@/instiki"
command_interpreter="@RUBY@"
if [ -f /etc/rc.subr ]; then
load_rc_config ${name}
run_rc_command "$1"
else
@ECHO_N@ " ${name}"
${command} ${instiki_flags} ${command_args}
fi
|