Date: Sun, 23 Aug 2009 21:49:53 +0200 From: Torfinn Ingolfsen <tingox@gmail.com> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: mythtv 0.21 - no PVR-x50 or PVR-500 type video cards Message-ID: <ef8c8a880908231249u778e8910kfb7b120cfee0e29c@mail.gmail.com> In-Reply-To: <ef8c8a880908231235t4e484575u89612daee83d25dc@mail.gmail.com> References: <ef8c8a880908231235t4e484575u89612daee83d25dc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Also, I changed the /usr/local/etc/rc.d/mythbackend script a bit so it doesn't clobber the shell / cobnsoleit was started from with uneccesary messages. Instead those goes to a logfile. Here is the diff: root@kg-quiet# diff -u /usr/ports/multimedia/mythtv/work/mythbackend /usr/local/etc/rc.d/mythbackend --- /usr/ports/multimedia/mythtv/work/mythbackend 2009-08-23 20:30:36.000000000 +0200 +++ /usr/local/etc/rc.d/mythbackend 2009-08-23 21:42:21.000000000 +0200 @@ -14,16 +14,18 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # mythbackend_enable=${mythbackend_enable-"NO"} +mythbackend_logfile=${mythbackend_logfile-"/var/log/mythbackend.log"} PATH=${PATH}:/usr/local/bin . /etc/rc.subr name="mythbackend" rcvar=`set_rcvar` -command="/usr/local/bin/mythbackend &" +command="/usr/local/bin/mythbackend" +flags=" --daemon --logfile ${mythbackend_logfile}" load_rc_config $name -start_cmd="echo \"Starting ${name}.\"; ${command}" +start_cmd="echo \"Starting ${name}.\"; ${command} ${flags}" run_rc_command "$1" -- Regards, Torfinn Ingolfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef8c8a880908231249u778e8910kfb7b120cfee0e29c>