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:
- Transmission bittorrent client on OpenWRT
- OpenWrt USB automount on boot
- Controlling transmission using json-rpc in perl
- Building an OpenWrt twitter client
- Blocking a port range in OpenWRT using iptables
Tags: howto, linux, OpenWrt, transmission




