Cli - RACOM RAy3-11 User Manual

Microwave link
Table of Contents

Advertisement

Configuration

5.6.5.2. CLI

Web interface for executing non-interactive scripts and programs.
Fig. 5.53: Menu Tools > Programs > CLI
Manage custom commands
Using "Open file upload"/"upload" the user can upload scripts to the unit. The uploaded file can be
either a single shell script with extension .sh (e.g. my_script.sh) or package with multiple scripts
with extension .tar.gz or .tgz created using tar.
"Delete all" removes all custom scripts from the unit.
Custom scripts are located in /home/shared/bin.
Custom commands
A custom script can be selected here and initial comments/help is shown.
CLI commands
A CLI command can be selected here. You can use cli_help for listing all CLI commands or
<command> --help to obtain detailed help on a selected command.
Command
Command line for writing commands with parameters. You can use any non-interactive pro-
gram/script according to your permissions. Command is executed by pushing the "Run" button.
Format of custom scripts
Custom scripts must be a shell script with preamble #!/bin/sh and extension sh.
Blocks of lines beginning with the comment sign (#) after preamble are considered to be help and
are listed when the script is selected in the web interface.
Scripts should not be interactive as there is no possibility to send a response from the web interface.
All script options should be implemented as parameters.
Syntax should be valid for interpret shell ash from BusyBox v1.20.1.
170
RAy3 Microwave Link – © RACOM s.r.o.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ray3-10Ray3Ray3-17Ray3-18Ray3-24Ray3-80

Table of Contents