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-09-28 11:09:21

TylerD004
Member
Registered: 2009-08-17
Posts: 49

Where do scripts go?!

I downloaded a script called "blocklist-downloader.sh".. Where do I put it so that it executes when I type "/ffp/bin/sh/blocklist-downloader.sh" it works?

Offline

 

#2 2009-09-28 16:06:41

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

Re: Where do scripts go?!

Code:

/ffp/bin/sh/blocklist-downloader.sh

Is impossible, since /ffp/bin/sh is a file, and should not be a directory.
When you mean

Code:

/ffp/bin/sh blocklist-downloader.sh

the script should be placed in the current directory, which could be /home/<username>

Another way is putting it in /ffp/bin, make it executable

Code:

chmod a+x /ffp/bin/blocklist-downloader.sh

then you can just type  blocklist-downloader.sh anywhere.

Last edited by Mijzelf (2009-09-28 16:09:36)

Offline

 

#3 2009-09-28 20:09:25

TylerD004
Member
Registered: 2009-08-17
Posts: 49

Re: Where do scripts go?!

Wow, thank you so much!  I understand a lot more now and I got it working just fine.. smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB