I wrote a blog some time ago describing running transmission on OpenWrt. Apparently I forgot to include the startup script in the blogpost, so I am posting it here.

Insert the following snippet into /etc/init.d/transmission.
#!/bin/sh /etc/rc.common

START=99

start(){
# Adjust as needed.
username=username
password=password
torrentpath=/mnt/torrent
transmission-daemon -b -f -p 9091 -t -u $username -v $password -w $torrentpath >/dev/null 2>&1 &
}

stop(){
killall -9 transmission-daemon
}
Remember to adjust the username, password and torrentpath. Next, on your router, run
cd /etc/init.d; chmod +x transmission; ./transmission enable

Related posts:

Tags: , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.