[mythtv-users] Seperate video out with PVR-350?

mythtv-users at jaredharvey.com mythtv-users at jaredharvey.com
Sun Jan 21 15:57:10 UTC 2007


Hello list,

U> Create  a simple wrapper script that dumps 'env' into a file. Start
U> it  by hand, and by the service, and then 'diff' the two outputs to
U> see what is different?

env...  You  learn  something  everyday.  Here  is  what  I  added  to
/etc/rc.d/rc.local

env > /home/mythtv/env-script

Here is what the env-script contained after a reboot

SELINUX_INIT=YES
CONSOLE=/dev/pts/0
TERM=linux
INIT_VERSION=sysvinit-2.86
PATH=/sbin:/usr/sbin:/bin:/usr/bin
RUNLEVEL=5
runlevel=5
PWD=/
LANG=en_US.UTF-8
PREVLEVEL=N
previous=N
HOME=/
SHLVL=2
_=/bin/env

and when sshed into it, here is what env produces now

# env
HOSTNAME=mrs.mythtv.jaredharvey.com
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
KDE_NO_IPV6=1
PERL5LIB=/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.8
USER=root
KVER=2.6.18-1.2868.fc6
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
KDEDIR=/usr
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/root
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
LOGNAME=root
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=localhost:10.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/root/.xauthWIyu6w
_=/bin/env

Some  potential  differences  include  the  SE linux, path, SHELL, and
possibly  more  of them. Any ideas what ones might matter to lircd and
irexec?

Best regards.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 Jared Harvey                        HAM KB1GTT

e-mail jared at jaredharvey.com
Web page http://jaredharvey.com





More information about the mythtv-users mailing list