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 2009-12-14 16:50:41

aclertant
New member
Registered: 2009-12-14
Posts: 2

launch ipkg package command line at startup

Hello,

I just want  to lauch : ddclient -daemon 300
At each nas startup

Thank's a lot for your explication
Bye André

ps: ddclient is an ipkg paquet and is running perfect in telnet.

Last edited by aclertant (2009-12-14 19:31:11)

Offline

 

#2 2009-12-15 15:59:37

wortelsoft
Member
From: Netherlands
Registered: 2009-06-08
Posts: 52

Re: launch ipkg package command line at startup

If you  have fun plug installed look at the scripts in the ffp/start directory. You should then make a script in that folder for your program in the same way as those scripts.

Offline

 

#3 2009-12-15 18:39:38

aclertant
New member
Registered: 2009-12-14
Posts: 2

Re: launch ipkg package command line at startup

Hello,

Thanks for your reply.

I tried but with no sucess... I dont understand why the command work well in ssh or telnet but not with a sh startup script.

Can you write me this simple script ? The command is just : ddclient -daemon 300

I realy want to know what is the syntax because I would like launch a lot of package ;o)

Thanks a Lot, André

Offline

 

#4 2009-12-16 13:09:13

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: launch ipkg package command line at startup

Try using full path to ddclient.

Offline

 

#5 2009-12-17 18:28:47

frogstomp
Member
Registered: 2009-03-27
Posts: 11

Re: launch ipkg package command line at startup

Have you changed the permissions to made the script executable?

chmod 777 <filename>

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB