Checking of variables during STB / portal start
Starting from STB software version 0.2.18 all customizations of the Embedded portal are necessary to make using the source code of the portal. After all customizations complete, it is necessary to make compiling and minimization of the source code of the portal. After compiling and minimization, all files of the portal could be placed in the home directory for further image-making. Source code of the portal (portal-dev-*.tgz is in a directory with current release http://soft.infomir.com)
For version 2.20 and higher
In the directory with the original version of the portal in
To enable 'variable checking' feature, you need:
Copy all files from the folder
/system/variables/on/ в /system/variables/ ;Put the necessary variables in the
/system/variables/vars.ini file;
- Before software image building, there needs to compile portal and put appropriate files (files of the mini directory) to the required RootFS directory in accordance with the Compiling of embedded portal instruction.
- Build a software image of the required type according to the instructions in the Operators Utilities and instructions for building STB software image section.
To ensure the correct operation of the 'checking variables' feature, previous portal compiling is required!
For version 0.2.18-r4 and higher
In the directory with the original version of the portal in
To enable the variable checking function, you need:
Copy all files from the folder
/system/variables/on/ в /system/variables/ ;Put the necessary variables in the
/system/variables/vars.ini file;
In the root file system
rootfs , in the root directory, in the filetest.sh remove comment from line# . /home/web/system/variables/check.sh .
For version 0.2.18-r3
If the variables differ then it is necessary to set the correct variables.
- environment.ini - put in the catalog
- environment.check.sh - put in the root directory of rootfs next to the file
- test.sh - after the line
, in the empty line below add:
- /home/web/public/portal/services.js - remove the comment with the following line: