Jump to content

Template:Networking rutos manual custom scripts: Difference between revisions

From Teltonika Networks Wiki
No edit summary
m Reverted edits by 2A00:23C4:AAC4:F701:49E0:EF06:2CEC:8257 (talk) to last revision by Dziugas
Tag: Rollback
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===Summary===
{{Template:Networking_rutos_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.06
| series    = {{{series}}}
}}
__TOC__
==Summary==


The <b>User Scripts</b> 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.
The <b>User Scripts</b> 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===
==Startup Script==


The <b>Startup Script</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 boot cycle. You can also execute the script via a [[Command line interfaces|command line interface]] with the following command:
The <b>Startup Script</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 boot cycle. You can also execute the script via a [[Command line interfaces|command line interface]] with the following command:
Line 11: Line 16:
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_rutos_manual_custom_scripts_startup_script_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_custom_scripts_startup_script.png|border|class=tlt-border]]
 
[[Category:{{{name}}} System section]]

Revision as of 09:07, 22 January 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 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:

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