Template:Networking rut manual user scripts: Difference between revisions
m (Dziugas moved page Template:Networking rutxxx manual user scripts to Template:Networking rut manual user scripts without leaving a redirect) |
No edit summary |
||
Line 14: | Line 14: | ||
==Startup script management== | ==Startup script management== | ||
The <b>startup script management</b> section shows the contents of the <i>/etc/rc.local</i> file and allows the user to edit it. | The <b>startup script management</b> section shows the contents of the <i>/etc/rc.local</i> file and allows the user to edit it. Scripts written in this file are executed at the end of the device's start up process. You can also execute written scripts via a [[Command line interfaces|command line interface]] with the following command: | ||
sh /etc/rc.local | sh /etc/rc.local |
Revision as of 13:25, 4 March 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 router's booting process.
This chapter of the user manual provides an overview of the User Scripts page for {{{name}}} devices.
Startup script management
The startup script management section shows the contents of the /etc/rc.local file and allows the user to edit it. Scripts written in this file are executed at the end of the device's start up process. You can also execute written scripts 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]]