The Script section provides functionality to manage scripts in your EdgeGO environment.
Adding Scripts
Add Scripts
- Click “+ Add Script”
- Select Script option and click Next
- A dialog will be shown to you to edit the script or import script from a file.
You could specify:
- Script Name
- Script Type
- .sh (Linux Shell script)
- .ps1 (Windows PowerShell script)
- .cmd (Windows Command script)
- User Group
- Script Content
Above image is an example of a script with the name linux-show-network, script type .sh, and content
ip address show
which will show the network information of the device when executed.- Click Upload button to upload the script to the repository.
- Click “+ Add Script”
Script Execution
For detailed information about executing scripts, please refer to the Execute Script section.