Template:Networking rut manual user scripts: Difference between revisions
(Created page with "__TOC__ ==Summary== The <b>User Scripts</b> function allows users to write their own shell scripts that will be executed during the router's booting process. This page is an...") |
Gytispieze (talk | contribs) m (Text replacement - "\{\{Template: Networking_rutos_manual_fw_disclosure (.*) (.*) (.*) (.*) \}\}" to "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{series}}} | name = {{{name}}} }} }}") |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Template: Networking_device_manual_fw_disclosure | |||
| series = {{{series}}} | |||
| name = {{{name}}} | |||
| fw_version ={{Template: Networking_device_manual_latest_fw | |||
| series = {{{series}}} | |||
| name = {{{name}}} | |||
}} | |||
}} | |||
__TOC__ | __TOC__ | ||
==Summary== | ==Summary== | ||
The <b>User Scripts</b> function allows users to write their own shell scripts that will be executed during the router's booting process. This | The <b>User Scripts</b> 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== | ==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 | ||
Line 12: | Line 22: | ||
The figure below is an example of the startup script management section: | The figure below is an example of the startup script management section: | ||
[[File: | [[File:Networking_rutxxx_manual_user_scripts_v1.png]] | ||
[[Category:{{{name}}} | [[Category:{{{name}}} System section]] |
Latest revision as of 11:09, 24 October 2023
The information in this page is updated in accordance with firmware version .
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]]