no just avoid using ${name} in the command.
name is just a label used for creating unique variable names you can
use in rc.conf, it doesn't have to match any binary.
_______________________________________________
Thanks we're getting closer but some thing's still hinky!
rd1# /usr/local/etc/rc.d/xmms2d stop
/usr/local/etc/rc.d/xmms2d: WARNING: cannot read shebang line from
/usr/local/bin/xmms2d-launcher
xmms2d not running?
This is the latest incarnation of the script:
#!/bin/sh
# PROVIDE: xmms2d
#xmms2d_enable="YES"
. /etc/rc.subr
name="xmms2d"
rcvar=`set_rcvar`
command="/usr/local/bin/xmms2d-launcher -u kaya"
load_rc_config $name
run_rc_command "$1"
I gather I goofed up one part but which I cannot say!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"