TRB142 Custom Scripts

From Teltonika Networks Wiki
Revision as of 07:38, 20 July 2021 by Dziugas (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Main Page > TRB Gateways > TRB142 > TRB142 Manual > TRB142 WebUI > TRB142 System section > TRB142 Custom Scripts

The information in this page is updated in accordance with firmware version TRB1_R_00.07.04.5.


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