Difference between revisions of "RUT900 Custom Scripts"

From Teltonika Networks Wiki
m (Dziugas moved page RUT900 User Scripts to RUT900 Custom Scripts)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Summary==
+
{{Template: Networking_rutos_manual_custom_scripts
 
+
<!------------------------DEVICE----------------------->
{{Template: webui_system_user_scripts_summary}}
+
| name  = RUT900
 
+
| series = RUT9
==Startup Script Management==
+
}}
 
 
The '''Script Management''' window shows the content of the ''/etc/rc.local'' file. This file is executed at the end of the startup process, executing the line:
 
 
 
sh /etc/rc.local
 
 
 
[[File:System user scripts.PNG]]
 
 
 
[[Category:RUT900 WebUI]]
 

Latest revision as of 06:40, 20 July 2021

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 RUT900 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