pCOWeb
+030220966 – rel. 1.1 – 12.12.2017
82
DESCRIPTION OF THE LINES
1:
The colour of the characters written afterwards becomes green.
2:
The colour of the characters written afterwards becomes red.
3:
The colour of the characters written afterwards becomes yellow.
4:
The colour of the characters written afterwards returns to the default.
5:
Displays the text [
Ok
]
6:
Displays the text [
Done
]
7:
Displays the text [
Yes
]
8:
Displays the text [
No
]
9:
Displays the text [
Error
]
10:
Displays the text [
Failed
]
11:
Displays the text [
Bad
]
13-18:
Display the value of the variable “$1” and write the next character after 70 characters from the start of the line displayed; if the output of “$1” is
“Test variable”, the following is displayed:
$ Test variable
·
$
where $ represents the shell prompt.
20-37:
Displays different signals in the log based on the value of “$1” sent to the function.
PLUGIN NAME
This the file located in the Plugin directory with the name “pluginname”.
It contains the Plugin name that will be displayed for the link during the installation and uninstallation of the Plugin.
IMPORTANT: the contents of “pluginname” must not contain spaces.
In the case of the NTP Plugin, the file contains the string “Network_Time_Protocol”, and the following link is displayed: ‘
Install plugin
“Network_Time_Protocol
” ‘.
PLUGIN DIRECTORY
For a Plugin to be automatically recognised as able to be installed by the
pCOWeb
, the directory that will be copied via FTP (see 9.7.1 a pagina 47) and that
contains all the files and all the directories must be called “Install-plug-xxx”, where xxx is any name used to identify the contents of the Plugin, yet has no
special meaning for the
pCOWeb
.
CHARACTERISTICS OF THE
pCOWeb
GNU/Linux OPERATING SYSTEM
Currently the
pCOWeb
can run two types of executable files:
•
Bash script
•
Compiled executables
“bash” is an interpreted language used to perform simple tasks or cyclical binary executions; it is a standard language and is widely described on the Internet.
For a compiled executable to be able to run on the
pCOWeb
, it must have the following characteristics:
•
Architecture:
ARMv7
•
Recommended compiler:
gcc 5.4
•
Linux Kernel:
4.11.12
•
Glibc:
2.24
•
Coreutils:
8.26
•
Findutils:
4.6.0
•
Inetutils:
1.9.4
•
Iputils
s20160308
•
Net-tools
2.10-alpha
•
Util-linux
2.29.2
•
Bash
4.4