jeroen2 wrote: 
> 
> > 
Code:
--------------------
  >   > #!/bin/sh
  > #things to do at startup
  > /usr/local/bin/irexec /home/tc/.lircrc &
  > 
--------------------
> > 

On a whim, I followed @jeroen2's suggestion:

* Commented out my /home/tc/.profile invocation of "/usr/local/bin
irexec -d" .
* Modified Tweaks->User commands to include:
User command #1: /home/tc/boot-irexec.sh
User command #2: ps auxw > /tmp/ps.log (to keep tabs on what's
running @ boot)
* Changed /home/tc/boot-irexec.sh to:
/usr/local/bin/irexec /home/tc/.lircrc &

Rebooted, and sure enough, irexec restarts @ boot time:


Code:
--------------------
    tc@piCorePorch:~$ ps auxw | grep irex
  2167 root      0:00 /usr/local/bin/irexec /home/tc/.lircrc
--------------------


I then switched User command #1 to "/usr/local/bin/irexec
/home/tc/.lircrc -d", rebooted and the irexec process still runs after
boot!  That's the cleanest invocation, so I'll leave that in place.

Thanks again, jeroen2 and paul-!


------------------------------------------------------------------------
Braklet's Profile: http://forums.slimdevices.com/member.php?userid=47269
View this thread: http://forums.slimdevices.com/showthread.php?t=112524

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to