Disabling items of System settings, Settings. Disabling entering to embedded portal and other
Attention! Beginning from STB software version 0.2.18, all customizations of the Embedded portal is necessary to make using source codes of 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 portal (portal-dev-*.tgz is in a directory with current release http://soft.infomir.com)
Disabling System settings, Settings menu and entering the Embedded portal are realized by editing rules.js files that are located in related directories. These files content the lists of items (commands) of embedded portal menus: Settings, System settings, Portal loading/ (page 404). To disable/hide any of those sections you should change the value from true to false.
rules.js files are located in the next embedded portal directories of RootFS:
/home/web/ - “Settigns”;/home/web/system/settings - “System settings”;/home/web/system/pages/loader - “Loader (page 404)”.
Set password for System Settings
- Enable variable check
Add in portal folder
/home/web/system/variables/vars.ini variablesystemSettingsPassword=1234 where 1234 is the value of password (for example) to enter System settings.