OpenWRT - daemon doesnt resume torrents

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
ground-tm
Posts: 2
Joined: Mon Oct 12, 2009 9:58 pm

OpenWRT - daemon doesnt resume torrents

Post by ground-tm »

Hi,
Im very satisfied with running transmission-daemon on OpenWRT (Asus WL-500gP v2), so I want to start it automatically after reboot. So I make file /etc/init.d/customstart with this text inside:

Code: Select all

#!/bin/sh /etc/rc.common

START=99
STOP=99

start() {
        echo start-transmission
        transmission-daemon -b -p 9091 -T -w /load/ # this is the same command which i use to start daemon manually
}

stop() {
        echo stop-transmission
        killall -9 transmission-daemon
}
and run

Code: Select all

/etc/init.d/customstart enable
After reboot, daemon is running with right options. But, when I open browser, NO torrents are loaded in WebUI. Then I kill transmision-daemon and start it again with the same command, torrents are loaded and everything works.
I dont know if Im doing something bad...
software versions:
OpenWRT is Kamikaze 8.09.1
Transmission 1.34 (transmission_1.34-1_mipsel.ipk)

and sorry for my english, i have to repair this text twice :lol:
Post Reply