Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RDK Platforms define a set of environment variable and function (through shell scripts) which enables the middleware middle-ware and application to access device specific information. There are configuration service files and shell scripts to do this job and is provided this are provided by the Sysint-Broadbandcomponent. 

...

3)/etc/include.properties

Variable NameDescription 
LOG_PATH
CRON_SPOOL
CRON_FIFO_FILE
PERSISTENT_PATH
RAMDISK_PATH
TEMP_LOG_PATH
UTILITY_PATH
RDK_PATH
EROUTER_INTERFACE
TELEMETRY_JSON_RESPONSE
CLOUDURL

4) /etc/logFiles.properties → Contains component name with specified log file name.

5) /etc/telemetry2_0.properties

Variable NameDescription
T2_0_BINPath for telemetry binary.
T2_0_APPName of telemetry binary.
T2_0_LOGFILEPath for storing telemetry logs.
T2_0_ATOM_LOGFILEpath for storing telemetry atom logs.
DCM_LOG_FILEPart for storing dcm script logs.

Shell Scripts

Script Name Description
StartDCM.shScript for establishing connections with webpa server. 
DCMscript.shScript for executing operations after connection establishment with server. 
uploadSTBLogs.shScript for uploading logs to the server.
interfaceCalls.shScript for basic functions execution like reboot, uptime.
commonUtils.shScript for basic linux utilities execution.
logfiles.shScript for defining path and file for storing  device logs.
backupLogs.shScript to backup the logs for the device.
bank_image_switch.sh
deviceInitiatedFWDnld.sh
imageFlasher.shScript for remote flashing of image.
rpi_sw_install.sh
rpi_sw_install1.sh
snmpUtils.sh
rpi_image_Flasher.sh
swupdate_utility.shRemote swupdate facility script.
dcaSplunkUpload.sh
dca_utility.sh
log_timestamp.shScript for displaying time stamp.
disableIpv6Autoconf.sh
getpartnerid.sh
disable_systemd_restart_param.sh
handlesnmpv3.

...

sh
ocsp-support.sh
disableUnusedInterfaces.sh
postwanstatusevent.sh
startSSH.sh
utils.sh
core_shell.sh
deviceInitiatedFWDnld.sh
getaccountid.sh
interfaceCalls.sh
run_rm_key.sh
corrective_action.sh
resource_monitor.sh
self_heal_connectivity_test.sh
task_health_monitor.sh


Sysint-Broadband derived Services

Service description
rfc.service
dropbear.serviceService for ssh connection oriented functionality 
dump-backup.service
hostapd_backup_check.service
ntpd.service
ocsp-support.service
previous-log-backup.service
swupdate.service