hanker wrote:
> Changed line 103 according to your idea. No change. :(
Ok.... this totally doesn't make sense to me, but so be it. There were
more changes in the file. And I thought they were irrelevant, thus
didn't post. Turns out I need exactly this:
Code:
--------------------
eis # diff -u slims /etc/init.d/slims
--- slims 2016-08-12 14:03:59.195996466 +0200
+++ /etc/init.d/slims 2016-08-12 17:12:33.987999860 +0200
@@ -100,7 +100,7 @@
if [ "${START_SLIMS}" = "yes" ]
then
# set variable to an empty string if not set
- if [ "${SLIMS_OPTIONS+1}" = "" ]
+ if [ "${SLIMS_OPTIONS+1}" = "1" ]
then
SLIMS_OPTIONS=''
fi
@@ -167,7 +167,8 @@
fi
cd ${ssdir}/
- su - slims -s /bin/sh -c "export LANG=${def_charset}; \
+
+su - slims -s /bin/sh -c "export LANG=${def_charset}; \
${ssdir}/slimserver.pl --daemon --logdir=${logdir} --prefsdir=${prefsdir}
\
${prefsoption} --pidfile=${pidfile} --logfile=${logfile} ${SLIMS_OPTIONS} \
--noimage --novideo" >> ${startlogfile} 2>> ${startlogfile}
--------------------
Remove all spaces in front of the "su" command and insert an empty line
before it. Yes, one or the other wouldn't be enough. Don't ask me
why.... But with these changes I've rebooted half a dozen times, and the
CPU load was normal every single time. Remove the empty line, or insert
those spaces, and the CPU is up again. Oh well..
BTW: that empty line only is there because at some point I added a debug
statement there which I later removed. Totally accidental discovery :-)
Michael
http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=105987
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter