<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Sorry in advance for my linux naivete, but here's 
my problem: my startup scripts are running twice.&nbsp; I get two copies of 
mythfrontend, and, worse, two instance of irxevent, which doubles the action 
performed by each remote control keypress, making menu navigation 
impossible.&nbsp; I've tried locating the code to start these processes in 
.bash_profile and /etc/profile.&nbsp; I have no idea why it's running twice -- 
this is a fresh install of FC2, and I haven't messed around with either of the 
scripts except to add three little lines (a call to alsactl, irxevent, and 
mythfrontend).&nbsp; I'm mystified.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If anyone can explain what's going on, that'd be 
great.&nbsp; But I think the quickest fix may be to just put those three lines 
inside a logic block that can only be executed once:&nbsp;an if to check that a 
variable is not set, execution of the three commands, fi,&nbsp;then the variable 
is set and exported.&nbsp; Unfortunately, I know very little about scripting and 
my efforts -- which look syntactically correct to me -- are generating 
errors.&nbsp; Could anyone write a quick example script of how I would 
accomplish this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for any help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>