4.2.3
Hostname configuration
The
file contains just a single setting that specifies the name of the STB, for example
hostname
4.2.3.1 libconfig prefix
To create the key for use in libconfig commands, prefix the setting name with
setting, the libconfig key is
4.2.4
Usersettings configuration
The
file contains settings that the STB user controls (for example, through the Preferences
usersettings
pages). These override the values specified for the same settings in the
when a new software image is loaded to the STB, but not if the STB is reflashed.
4.2.4.1 libconfig prefix
To create the key for use in libconfig commands, prefix the setting name with
for the
PREFERRED_LANG
4.2.5
DHCPC configuration
The dynamic network and multicast upgrade settings retrieved from the DHCP server are stored in a file called
. These values are only set if the STB uses dynamic network and multicast upgrade
dhcpcd-eth0.info
settings, otherwise, the static values are defined in the NOR Flash. The DHCPC values are read‐only.
4.2.5.1 libconfig prefix
To create the key for use in libconfig commands, prefix the setting name with
setting, the libconfig key is
4.3
Using libconfig to get and set values
The following section describes how to set new configuration values. We provide a command line utility
to set configuration values.
libconfig-set
4.3.1
libconfig‐set command syntax
The libconfig commands for setting and querying STB configuration have similar syntax.
To set, use:
libconfig-set <config_key> "value"
To query, use:
libconfig-get <config_key>
© Amino Communications Ltd. 2018
HOSTNAME.HOSTNAME
setting, the libconfig key is
.
DHCPC.DNS
libconfig-get
.
settings
USERSETTINGS.PREFERRED_LANG
can be used to query the values.
USING LIBCONFIG
stb001
. For the
HOSTNAME
HOSTNAME
file. The values persist
. For example,
USERSETTINGS
.
. For example, for the
DHCPC
INDEX
CONTENTS
.
DNS
59