On a tip from
https://www.brianlinkletter.com/persistent-configuration-changes-in-tinycore-linux/,
I manually edited /usr/local/etc/pcp/pcp.cfg and removed the
percent-encoding from USER_COMMAND_1:
USER_COMMAND_1="/usr/local/bin/irexec -d"
I then made this configuration persistent:
sudo filetool.sh -b
and rebooted. My pcp.cfg edit remains, but there is still no irexec
running:
Code:
--------------------
tc@piCorePorch:/usr/local/etc/pcp$ ps auxw | grep ire
8586 tc 0:00 grep ire
--------------------
/var/log/pcp_boot.log shows that LIRC is started before the user
commands (sorry for encoding, can't figure out how to get rid of it in
PuTTY):
Code:
--------------------
[1;34mLoading configuration file...[[0;39m [[1;32mDone.[[0;39m
[[1;34mLoading pcp-lms-functions...[[0;39m [[1;32mDone.[[0;39m
[[1;33mWaiting for soundcard IQaudIODAC to populate. [[1;32mDone (1).[[0;39m
[[1;33mWaiting for network. [[1;32mDone (1).[[0;39m
[[1;34mStarting lirc...[[0;39m [[1;32mDone.[[0;39m
[[1;34mStarting Openssh server...[[0;39m [[1;32mDone.[[0;39m
[[1;34mStarting Squeezelite and/or Shairport-sync...[[1;33m
[ INFO ] Starting Squeezelite player: Squeezelite...
[[1;32mDone.[[0;39m
[[1;34mStarting httpd web server...[[0;39m [[1;32mDone.[[0;39m
[[1;34mStarting user commands...[[0;39m [[1;32mDone.[[0;39m
[[1;34mStarting auto start Favorites...[[0;39m [[1;32mDone.[[0;39m
[[1;34mSetting CPU scaling governor to ondemand... [[1;32mDone.[[0;39m
[[1;34mCreating static footer...[[0;39m [[1;32mDone.[[0;39m
[[1;32mFinished piCorePlayer v6.1.0 startup.[[0;39m
--------------------
Any ideas for either adding more detailed logging to the user commands,
or another startup file to manipulate?
------------------------------------------------------------------------
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