Reply To: Installation of FireFly on MSS

#11307
squashuax
Participant

Help me out. All of the characters look the same to me. Do you see a space where one doesn’t belong, or what is the difference you see?

I do notice that this line,
“export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib”
which is now in mine based on your recommendation, is substantially different than the line suggested on the Open MSS forum, here:
http://www.openmss.org/forum/viewtopic.php?p=3981#p3981

The problems that I’m having are that firefly does not start when the mss boots, does not start with “cat /opt/etc/init.d/S60mt-daapd”, only starts with “opt/lib/ld.so.1 /opt/sbin/mt-daapd -f -c /opt/etc/mt-daapd/mt-daapd.conf -y &” and stops running on the MSS when I end the terminal session in putty.

Here is a comparison of the two init files. I can’t see the difference (or understand how it is going to solve the problem above).

Yours:

#!/bin/sh

# make sure our shared libraries are in the path.
# if we get /etc/ld.so.conf working, this export
# can be removed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib

if [ -n “`pidof mt-daapd`” ] ; then
killall mt-daapd 2>/dev/null
fi

sleep 2
/opt/lib/ld.so.1 /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf

Mine:

#!/bin/sh

# make sure our shared libraries are in the path.
# if we get /etc/ld.so.conf working, this export
# can be removed
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib

if [ -n “`pidof mt-daapd`” ] ; then
killall mt-daapd 2>/dev/null
fi

sleep 2 /opt/lib/ld.so.1 /opt/sbin/mt-daapd -c
/opt/etc/mt-daapd/mt-daapd.conf