Versions Compared

Key

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

...

These are set of scripts provided to help you bring up, manage, control and monitorRouters. These scripts include the following:  

  • Erouter0 info
  • Script for DCM simulator Support 
  • Script for NTPD 
  • Factory Reset operation
  • Log Rotate operation
  • Self heal operation
  • Firmware Upgrade functionality 
  • Webpa Server URL 
  • Remote Management operation

Some device specific information is available from shell environment in form of variables mainly through property files i.e. /etc/device.properties(configuration file specific to a platform). Platforms also can override certain properties if needed. 

Along with this a collection of utility scripts defined under “/lib/rdk” provide information regarding common properties.

Environment variables

Script name: 1) /etc/device.properties

Variable Name Description 
DEVICE_TYPE Type of the device (Broadband or Extender)
BUILD_TYPE Build type ( dev or prod)
MOCA_INTERFACEName of the MOCA interface
ETHERNET_INTERFACEName of the Ethernet interface
BUILD_VERSIONBuild Version
MANUFACTUREOEM manufacturer name
LOG_PATHPath for device logs.
CORE_PATHPath for corefiles
PROCESS_RESTART_LOG
MESH_SUPPORTED
WAN_TYPE
WanFailOverSupportEnable
BOX_TYPEModel name of the Router.
ARM_INTERFACE
MODEL_NAME
ATOM_INTERFACE
ATOM_INTERFACE_IP
ATOM_PROXY_SERVER
PARODUS_URL
WEBPA_CLIENT_URL
OneWiFiEnabled
MODEL_NUM
NVRAM2_SUPPORTED
TFTP_SERVER_IP
PART_SIZE_OFFSET
SERVERURL
WEBCONFIG_INTERFACE


2)/etc/dcm.properties

Variable Name Description 
LOG_SERVER
DCM_LOG_SERVER
DCM_LOG_SERVER_URL
DCM_SCP_SERVER
HTTP_UPLOAD_LINK
DCA_UPLOAD_URL
DCM_HTTP_SERVER_URL
DCM_LA_SERVER_URL

Shell Functions

...

Script Name Description
StartDCM.sh
DCMscript.sh
uploadSTBLogs.sh
interfaceCalls.sh
commonUtils.sh
logfiles.sh
backupLogs.sh
bank_image_switch.sh
deviceInitiatedFWDnld.sh
imageFlasher.sh
rpi_sw_install.sh
rpi_sw_install1.sh
snmpUtils.sh
rpi_image_Flasher.sh
swupdate_utility.sh
dcaSplunkUpload.sh
dca_utility.sh