Template:Networking rut manual user scripts: Difference between revisions
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
[[File:{{{file_scripts}}}]] | [[File:{{{file_scripts}}}]] | ||
[[Category:{{{name}}} | [[Category:{{{name}}} Services section]] |
Revision as of 11:15, 7 May 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}}} Services section]]