Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / moss / files / moss.sh
blobc8387f8a87dcb80059472092e08b75a42d8e049b
1 #!@RCD_SCRIPTS_SHELL@
3 # $NetBSD: moss.sh,v 1.1.1.1 2004/08/10 06:48:21 minskim Exp $
6 # PROVIDE: moss
7 # REQUIRE: DAEMON LOGIN wscons
8 # KEYWORD: shutdown
10 if [ -f /etc/rc.subr ]; then
11 . /etc/rc.subr
14 name="moss"
15 rcvar=$name
16 command="@PREFIX@/bin/${name}"
17 command_interpreter="@INTERPRETER@"
18 pidfile="/var/run/moss.pid"
19 required_files="@PREFIX@/etc/moss.conf"
20 command_args="-c ${required_files}"
22 if [ -f /etc/rc.subr ]; then
23 load_rc_config $name
24 run_rc_command "$1"
25 else
26 echo -n " ${name}"
27 ${command} ${command_args}