Changes

558 bytes added ,  18:04, 9 November 2022
no edit summary
Line 50: Line 50:  
=====Actions tab=====
 
=====Actions tab=====
 
----
 
----
Log into Router 2 WebUI and go to the '''Services → I/O Juggler''' page; Then navigate to '''Actions''' and '''create a new instance'''.
+
Log into Router 2 WebUI and go to the '''Services → Input/Output → I/O Juggler''' page; Then navigate to '''Actions''' and '''create a new instance'''.
 
[[File:IO juggler action sms.png|border|center|class=tlt-border|1004x1004px]]
 
[[File:IO juggler action sms.png|border|center|class=tlt-border|1004x1004px]]
   −
# '''Enter''' the desired action '''instance name''' ('''1''');
+
# '''Enter''' the desired action '''instance name''';
# Select '''desired type''' ('''2''');
+
# Select '''desired type''';
# Click '''add''' ('''3''');
+
# Click '''add''';
    
This will open a new configuration page:
 
This will open a new configuration page:
Line 114: Line 114:  
===RUT 2===
 
===RUT 2===
 
----
 
----
 +
Navigate to '''Services → Input/Output → I/O Juggler''' and create an Action instance.
 +
 
[[File:IO juggler script conf.png|border|center|class=tlt-border|1004x1004px]]
 
[[File:IO juggler script conf.png|border|center|class=tlt-border|1004x1004px]]
 +
 +
# Type - '''Script''';
 +
# Specify path - you can choose between specifying script path or uploading a script file directly;
 +
# Script file - depending on what you have chose in the field above, you will be asked to enter a script directory or upload script;
 +
# Save and apply changes
 +
 +
Script example can be seen below:
 +
 +
</b><br><pre>#!/bin/sh
 +
 +
curl -X GET "http://84.15.162.30/cgi-bin/sms_send?username=test&password=domas123&number=0037066081653&text=outputon"
 +
 +
exit 0</pre></li>