You are here: Home » Reply » Reply To: Automatically Starting mt-daapd on NSLU2

Reply To: Automatically Starting mt-daapd on NSLU2

#4841
fizze
Participant
#! /bin/sh

/bin/mount -t auto -o umask=0000 /dev/sdb1 /share/hdd/data > /dev/null
swapon /share/hdd/data/swapfile
sleep 5
/opt/etc/init.d/S60mt-daapd

thats my /unslung/rc.local.

it mounts my NTFS drive which is on port 1, activates a swap file on said drive, and then starts mt-daapd.

works like a charm.