RUT955 Custom Scripts: Difference between revisions

From Teltonika Networks Wiki
(Created page with "==Summary== {{Template: webui_system_user_scripts_summary}} ==Startup Script Management== The '''Script Management''' window shows the content of the ''/etc/rc.local'' file...")
 
m (Dziugas moved page RUT955 User Scripts to RUT955 Custom Scripts)
 
(8 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  = RUT955
 
| 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]]

Latest revision as of 06:41, 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 RUT955 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: