TRB141 Custom Scripts: Difference between revisions
m (Dziugas moved page TRB141 User Scripts to TRB141 Custom Scripts) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template: Networking_rutos_manual_custom_scripts | {{Template: Networking_rutos_manual_custom_scripts | ||
<!------------------------DEVICE-----------------------> | |||
| name = TRB141 | | name = TRB141 | ||
| series = TRB1 | | series = TRB1 | ||
}} | }} |
Latest revision as of 06:38, 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 TRB141 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: