Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/corrective_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ resetNeeded()
storeInformation

enable_TR69_Binary=$(syscfg get EnableTR69Binary)
if [ "$ProcessName" == "CcspTr069PaSsp" ] && [ "$Box_Type" == "bpi" ] && [ "$enable_TR69_Binary" = "false" ]; then
if [ "$ProcessName" == "CcspTr069PaSsp" ] && [ "$BOX_TYPE" == "bpi" ] && [ "$enable_TR69_Binary" = "false" ]; then
echo_t "RDKB_SELFHEAL : CcspTr069PaSsp and enable_TR69_Binary is disabled"
else
vendor=`getVendorName`
Expand Down Expand Up @@ -626,7 +626,7 @@ resetNeeded()
elif [ "$SELFHEAL_TYPE" = "BASE" ] && [ "$ProcessName" == "CcspTr069PaSsp" ]
then
enable_TR69_Binary=$(syscfg get EnableTR69Binary)
if [ "$enable_TR69_Binary" = "false" ] && [ "$Box_Type" == "bpi" ]; then
if [ "$enable_TR69_Binary" = "false" ] && [ "$BOX_TYPE" == "bpi" ]; then
echo_t "EnableTR69Binary disabled not restarting TR69_process"
else
echo_t "RDKB_SELFHEAL : Resetting process $ProcessName"
Expand Down
2 changes: 1 addition & 1 deletion scripts/task_health_monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ case $SELFHEAL_TYPE in

# Checking XdnsSsp PID
XDNS_PID=`pidof CcspXdnsSsp`
if [ "$XDNS_PID" = "" ] && [ "$Box_Type" != "bpi" ]; then
if [ "$XDNS_PID" = "" ] && [ "$BOX_TYPE" != "bpi" ]; then
echo_t "RDKB_PROCESS_CRASHED : CcspXdnsSsp_process is not running, need restart"
resetNeeded xdns CcspXdnsSsp

Expand Down