Remove inputlircd from user commands and add it to /opt/bootlocal.sh
before the pcp_startup.sh line.


Code:
--------------------
    tc@rpi37-wls:~$ cat /opt/bootlocal.sh
  #!/bin/sh
  # put other system startup commands here
  
  GREEN="$(echo -e '\033[1;32m')"
  
  echo
  echo "${GREEN}Running bootlocal.sh..."
  /USR/LOCAL/SBIN/INPUTLIRCD -N \"FLIRC.TV FLIRC\" -M 0 -G -R 500 -T 
/HOME/TC/INPUTLIRCD.KEYMAP > /VAR/LOG/PCP_INPUTLIRCD.LOG 2>&1
  
  #pCPstart------
  /usr/local/etc/init.d/pcp_startup.sh 2>&1 | tee -a /var/log/pcp_boot.log
  #pCPstop------
  
--------------------

That will launch inputlircd before squeezelite is started and save any
output from inputlircd to /var/log/pcp_inputlircd.log



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

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

Reply via email to