Date: Tue, 9 Jan 2007 20:30:06 +0100 (CET) From: Wojciech Puchar <wojtek@tensor.3miasto.net> To: ports@FreeBSD.org Subject: net/mpd wrong startup script Message-ID: <20070109202852.J59821@chylonia.3miasto.net>
next in thread | raw e-mail | index | archive | help
the fixed /usr/local/etc/rc.d/mpd.sh is below: fixed missing : between mpd_enable and -NO and missing /etc/rc.subr after . looks like that script were never tested #!/bin/sh # # $FreeBSD: ports/net/mpd/files/mpd.sh,v 1.5 2006/02/20 20:47:27 dougb Exp $ # # PROVIDE: mpd # REQUIRE: NETWORKING syslogd # # Add the following line to /etc/rc.conf to enable mpd: # # mpd_enable="YES" # mpd_flags="${mpd_flags:--b}" mpd_enable="${mpd_enable:-NO}" . /etc/rc.subr name=mpd rcvar=`set_rcvar` prefix=/usr/local procname=${prefix}/sbin/mpd pidfile=/var/run/mpd.pid required_files="${prefix}/etc/mpd/mpd.conf ${prefix}/etc/mpd/mpd.links" command="${prefix}/sbin/mpd" load_rc_config ${name} run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070109202852.J59821>