Difference between revisions of "Template:Networking rut manual user scripts"
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}}} }} }}") |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__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. | + | 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 overview of the User Scripts function in {{{name}}} routers. |
− | + | {{Template: Networking_rutxxx_manual_fw_disclosure | |
+ | | fw_version = {{{fw_version}}} | ||
+ | }} | ||
==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. This scripts written in this file are executed at the end of the device's start up process. You can also execute the script via a [[Command line interfaces|command line interface]] with the following command: |
sh /etc/rc.local | sh /etc/rc.local | ||
Line 22: | Line 16: | ||
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:{{{file_scripts}}}]] |
[[Category:{{{name}}} System section]] | [[Category:{{{name}}} System section]] |
Revision as of 07:16, 30 June 2020
Summary
The User Scripts function allows users to write their own shell scripts that will be executed during the router's booting process. This page is an overview of the User Scripts function in {{{name}}} routers.
The information in this page is updated in accordance with the [[Media:{{{fw_version}}}_WEBUI.bin|{{{fw_version}}}]] firmware version.
Startup script management
The startup script management 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 start up process. 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:
[[File:{{{file_scripts}}}]]
[[Category:{{{name}}} System section]]