Difference between revisions of "Template:Networking rutos manual custom scripts"

From Teltonika Networks Wiki
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Networking_rutos_manual_fw_disclosure
+
{{Template: Networking_rutos_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.04.1
+
| fw_version = {{{series}}}{{#ifeq:{{{name}}}|RUT241|M|}}_R_00.07.01
 
| series    = {{{series}}}
 
| series    = {{{series}}}
 
}}
 
}}
 +
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} User Scripts (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT9XX_R_00.06.08.5 and earlier) user manual page.</i>|}}
 +
{{#ifeq: {{{series}}} | RUT2 |
 +
{{#switch: {{{name}}}
 +
  | RUT241 =
 +
  | #default =
 +
<br><i><b>Note</b>: <b>[[{{{name}}} User Scripts (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT2XX_R_00.01.14.4 and earlier) user manual page.</i>}}
 +
|}}
 
__TOC__
 
__TOC__
 
==Summary==
 
==Summary==
Line 16: Line 23:
 
The figure below is an example of the Startup Script management section:
 
The figure below is an example of the Startup Script management section:
  
[[File:Networking_trb_manual_user_scripts_v1.png]]
+
[[File:Networking_rutos_manual_custom_scripts_startup_script.png|border|class=tlt-border]]
  
 
[[Category:{{{name}}} System section]]
 
[[Category:{{{name}}} System section]]

Revision as of 11:50, 6 October 2021

The information in this page is updated in accordance with firmware version [[Media:{{{series}}}_R_00.07.01_WEBUI.bin|{{{series}}}_R_00.07.01]].


Summary

The User Scripts function allows users to write their own shell scripts that will be executed during the device's booting process. This page is an overview of the User Scripts function in {{{name}}} devices.

Startup Script

The Startup Script section shows the contents of the /etc/rc.local file and allows the user to edit it. This scripts written in this file are executed at the end of the device's boot cycle. You can also execute the script via a command line interface with the following command:

sh /etc/rc.local

The figure below is an example of the Startup Script management section:

Networking rutos manual custom scripts startup script.png

[[Category:{{{name}}} System section]]