Difference between revisions of "Template:Networking rut manual user scripts"

From Teltonika Networks Wiki
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Template: Networking_rutos_manual_fw_disclosure
 +
| fw_version = {{#switch: {{{series}}}
 +
  | RUT2XX = {{{series}}}_R_00.01.13
 +
  | RUT850 = {{{series}}}_R_00.01.04
 +
  | RUT9XX = {{{series}}}_R_00.06.07}}
 +
}}
 
__TOC__
 
__TOC__
 
==Summary==
 
==Summary==
  
The <b>User Scripts</b> function allows users to write their own shell scripts that will be executed during the router's booting process. This page is an overview of the User Scripts function in {{{name}}} routers.
+
The <b>User Scripts</b> function allows users to write their own shell scripts that will be executed during the router's booting process.
  
{{Template: Networking_rutxxx_manual_fw_disclosure
+
This chapter of the user manual provides an overview of the User Scripts page for {{{name}}} devices.
| fw_version = {{{fw_version}}}
 
}}
 
  
 
==Startup script management==
 
==Startup script management==
  
The <b>startup script management</b> section shows the contents of the <i>/etc/rc.local</i> file and allows the user to edit it. This scripts written in this file are executed at the end of the device's start up process. You can also execute the script via a [[Command line interfaces|command line interface]] with the following command:
+
The <b>startup script management</b> section shows the contents of the <i>/etc/rc.local</i> file and allows the user to edit it. Scripts written in this file are executed at the end of the device's start up process. You can also execute written scripts via a [[Command line interfaces|command line interface]] with the following command:
  
 
  sh /etc/rc.local
 
  sh /etc/rc.local
Line 16: Line 20:
 
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:{{{file_scripts}}}]]
+
[[File:Networking_rutxxx_manual_user_scripts_v1.png]]
  
[[Category:{{{name}}} WebUI]]
+
[[Category:{{{name}}} System section]]

Revision as of 13:25, 4 March 2021

Template:Networking rutos manual fw disclosure

Summary

The User Scripts function allows users to write their own shell scripts that will be executed during the router's booting process.

This chapter of the user manual provides an overview of the User Scripts page for {{{name}}} devices.

Startup script management

The startup script management section shows the contents of the /etc/rc.local file and allows the user to edit it. Scripts written in this file are executed at the end of the device's start up process. You can also execute written scripts 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 rutxxx manual user scripts v1.png

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