You are here: Home » Topic » Start Firefly on NSLU2 reboot

Start Firefly on NSLU2 reboot

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2283
    Anonymous
    Inactive

    I’m really happy with my NSLU2/Firefly/Soundbridge setup apart from having to telnet into the slug to start firefly if it has been switched off.

    This doesn’t happen too often but there must be a way to start firefly automatically when the slug boots – is there?

    Cheers

    Mouse

    #16518
    sonichouse
    Participant

    @mouse wrote:

    I’m really happy with my NSLU2/Firefly/Soundbridge setup apart from having to telnet into the slug to start firefly if it has been switched off.

    This doesn’t happen too often but there must be a way to start firefly automatically when the slug boots – is there?

    Cheers

    Mouse

    In /opt/etc/init.d my file S60mt-daapd has the following :-

    #!/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/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf

    Remember to chmod 755 the file as well.

    #16519
    Anonymous
    Inactive

    The S60mt-daapd file was present on my slug and the contents were the same.

    CHMODing it did the trick!

    Many thanks

    Mouse

    #16520
    sonichouse
    Participant

    @mouse wrote:

    The S60mt-daapd file was present on my slug and the contents were the same.

    CHMODing it did the trick!

    Many thanks

    Mouse

    Glad to help 😆

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.