Place script in /jffs/

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Patrick1610
DD-WRT Novice


Joined: 24 Jul 2017
Posts: 17

PostPosted: Sat Aug 12, 2017 8:40    Post subject: Place script in /jffs/ Reply with quote
Hi,

I am trying to make a script work (for a while now. ) and the first line of the script says this:

#Enable JFFS2 and place script in /jffs/ then run on startup in web interface.

I cannot seem to find out where to place the script, can anyone help me with that?
I'm really new to DD-WRT so sorry if this is a stupid question.
I have a R7000 running Firmware: DD-WRT v3.0-r33010M kongac (08/09/17)

Thanks in advance!

Patrick
Sponsor
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Mon Aug 14, 2017 7:35    Post subject: Reply with quote
http://www.dd-wrt.com/wiki/index.php/Index:Scripting
_________________
Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Mon Aug 14, 2017 14:36    Post subject: Re: Place script in /jffs/ Reply with quote
Patrick1610 wrote:
I cannot seem to find out where to place the script, can anyone help me with that?
It's been a while since I've used JFFS, but you just enable it in the GUI, which creates a /jffs partition you can access via telnet, ssh/SCP, or GUI Admin->commands. Note, much of that wiki is old, but that section seems right. Anyway, then put your script there; either by wget/curl, or WinSCP (need SSH enabled), or USB, or... manual entry...? Smile
_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Mon Aug 14, 2017 14:58    Post subject: Re: Place script in /jffs/ Reply with quote
jwh7 wrote:
Patrick1610 wrote:
I cannot seem to find out where to place the script, can anyone help me with that?
It's been a while since I've used JFFS, but you just enable it in the GUI, which creates a /jffs partition you can access via telnet, ssh/SCP, or GUI Admin->commands. Note, much of that wiki is old, but that section seems right. Anyway, then put your script there; either by wget/curl, or WinSCP (need SSH enabled), or USB, or... manual entry...? Smile

Place the script in /jffs/etc/config with postfix .wanup and make it executable (chmod 755 filename). It will then execute automatically at startup after the wan interface is up.

_________________
Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum