mythtv 0.21 - no PVR-x50 or PVR-500 type video cards
Torfinn Ingolfsen
tingox at gmail.com
Sun Aug 23 19:49:55 UTC 2009
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 at 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
More information about the freebsd-ports
mailing list