DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-03 11:54:51

Shiggysteve
New member
Registered: 2009-12-23
Posts: 4

how can I set transmission client to autostart after nas has rebooted?

hi

I haven't found anything that would help me to let transmission autostart after my NSA-220 plus has restarted.
At the moment I#m using transmission client with ffp on a usb stick and it works fine.

i'm starting transmission every time after a reboot via command line:

transmission-daemon -g /i-data/md0/Torrent/.transmission-daemon -w /i-data/md0/Torrent/ -t -u Username -v Password -a 127.0.0.1,10.0.*.*

thx
s

Offline

 

#2 2010-01-03 15:45:36

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: how can I set transmission client to autostart after nas has rebooted?

Create a script:

Code:

#!/ffp/bin/sh 

transmission-daemon -g /i-data/md0/Torrent/.transmission-daemon -w /i-data/md0/Torrent/ -t -u Username -v Password -a 127.0.0.1,10.0.*.*

, call it transmission.sh (the name is not important, maybe the extension .sh is) and put it in /ffp/start. Make it executable:

Code:

chmod a+x /ffp/start/transmission.sh

Make sure you are using unix line-endings in your script (this will be done automatically when using one of the box' editors, vi, nano or joe.

This is the dirty way. When doing it neat, the script should be able to handle a start, stop and restart parameter. Have a look at the other scripts in /ffp/start

Offline

 

#3 2010-01-03 23:04:09

Shiggysteve
New member
Registered: 2009-12-23
Posts: 4

Re: how can I set transmission client to autostart after nas has rebooted?

thx a lot...

bye
st

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB