On Fri, 08 Jan 2010 12:23:40 +0200
Kaya Saman <[email protected]> wrote:
> So far I have modified the script to look like this:
>
> #!/bin/sh
You may need a PROVIDE LINE e.g.
# PROVIDE: xmms2launcher
> . /etc/rc.subr
>
> name="xmms2-launcher"
You can't use "-" in shell variable names, so you shouldn't use it here
> rcvar=`set_rcvar`
> command="/usr/local/bin/${name}" -u kaya
The -u kaya needs to go in a <name>_flags variable
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"