Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Nov 18, 2017 10:13 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu Nov 12, 2015 10:06 pm 
Offline
Newbie

Joined: Wed Feb 16, 2011 9:48 pm
Posts: 26
Hi all.
I have terastation pro duo.
I installed amule adunanza, but I need amuled starts automatically every nas restart.
Service starts with "amuled -f" command.
How I can do it autotically?
I tried to create .sh file which contains amuled -f command, but doesn't works.

Thanks.

Cristian


Top
   
PostPosted: Thu Nov 12, 2015 10:20 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
Maybe a example from the Linkstations can help

5.2 from
http://forum.nas-hilfe.de/buffalo-technology-nas-anleitungen/transmission-auf-der-linkstation-live-und-pro-ls-chlv2-ls-xhl-ls-vl-mit-rotem-webinterface-t749.html


Top
   
PostPosted: Thu Nov 12, 2015 10:39 pm 
Offline
Newbie

Joined: Wed Feb 16, 2011 9:48 pm
Posts: 26
Thanks for your answer but topic contains procedure to start automatically daemon.
I simply need to execute automatically following command every nas restart:

amuled -f


Top
   
PostPosted: Fri Nov 13, 2015 7:39 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
Point 5.2
Quote:
echo '/opt/bin/transmission-daemon -g /mnt/disk1/share/.config/transmission-daemon' >/opt/etc/init.d/S95_transmission.sh

chmod 755 /opt/etc/init.d/S95_transmission.sh

echo 'killall /opt/bin/transmission-daemon' >/etc/rc.d/extensions.d/K05_transmission.sh

chmod 755 /etc/rc.d/extensions.d/K05_transmission.sh


here you can see

startscript for optware
/opt/etc/init.d/SXX_xxxxx.sh

the underscore ist needed


stopscript for any program
/etc/rc.d/extensions.d/KXX_xxxxx.sh

the underscore ist needed

if you do not installed optware put all startscripts here
/etc/rc.d/extensions.d/SXX_xxxxx.sh

the underscore ist needed


you have to use full pathes
amuled -f

is not enough

thearch amuled with

Code:
find / -name amuled


Top
   
PostPosted: Tue Nov 17, 2015 9:57 pm 
Offline
Newbie

Joined: Wed Feb 16, 2011 9:48 pm
Posts: 26
Really, I don'tunderstood what i need to do.....
I cannot use amule daemon.
I need to start automatically amuled every nas restart.
Posted instruction are referred to daemon start......

??????????


Top
   
PostPosted: Tue Nov 17, 2015 10:32 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
deamon or not is the same problem

you have to find the correct path and start your program as deamon ... or not

the scriptposotion is the same


Top
   
PostPosted: Wed Nov 18, 2015 12:06 am 
Offline
Newbie

Joined: Wed Feb 16, 2011 9:48 pm
Posts: 26
mmhhhh
The path is: /mnt/array1/.optware/bin/amuled
Then?


Top
   
PostPosted: Wed Nov 18, 2015 12:06 am 
Offline
Newbie

Joined: Wed Feb 16, 2011 9:48 pm
Posts: 26
mmhhhh
The path is: /mnt/array1/.optware/bin/amuled
Then?


Top
   
PostPosted: Wed Nov 18, 2015 7:06 am 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
Code:
echo '/opt/bin/amuled -f' >/opt/etc/init.d/S85_Amuled.sh

chmod 755 /opt/etc/init.d/S85_Amuled.sh

echo 'killall /opt/bin/amuled' >/etc/rc.d/extensions.d/K15_Amuled.sh

chmod 755 /etc/rc.d/extensions.d/K15_Amuled.sh


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited