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
}
Code: Select all
/etc/init.d/customstart enable
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
