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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [3.0.7](https://github.com/rdkcentral/sysint/compare/3.0.6...3.0.7)

- RDKEMW-8559 : Remove Box reboot counter reset services [`#312`](https://github.com/rdkcentral/sysint/pull/312)
- RDKEMW-7549 : Increase in SYST_WARN_WiFiNotConn marker [`#310`](https://github.com/rdkcentral/sysint/pull/310)
- RDK-58220 : [RDKE] Migrate Functionality In TR-69Hostif And NTP Scripts To Core Modules [`#326`](https://github.com/rdkcentral/sysint/pull/326)
- RDKE-921: Clean up the mitigation done for dnsmasq restart in Xumo TV Release [`#313`](https://github.com/rdkcentral/sysint/pull/313)
- Merge tag '3.0.6' into develop [`a629329`](https://github.com/rdkcentral/sysint/commit/a62932911b81aa5663e739f49081806c5029e1d4)
- RDK-58220 Migrate Functionality In TR-69Hostif Scripts To Core Modules [`fa122a3`](https://github.com/rdkcentral/sysint/commit/fa122a391e1d594901a89b03de18589c8b7fa6a2)
- Update NM_Dispatcher.sh [`a496e69`](https://github.com/rdkcentral/sysint/commit/a496e69fcbe97662eca9372e582bb92a6a2fc435)

#### [3.0.6](https://github.com/rdkcentral/sysint/compare/3.0.5...3.0.6)

> 29 September 2025

- Deploy fossid_integration_stateless_diffscan_target_repo action [`#323`](https://github.com/rdkcentral/sysint/pull/323)
- RDKTV-38567: PAT_EntOS_A4K-Soft Reboot failed from settings; Stuck on Black screen [`#311`](https://github.com/rdkcentral/sysint/pull/311)
- Deploy cla action [`#203`](https://github.com/rdkcentral/sysint/pull/203)
- Update CODEOWNERS [`#308`](https://github.com/rdkcentral/sysint/pull/308)
Expand Down
12 changes: 0 additions & 12 deletions lib/rdk/NM_Dispatcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,6 @@ if [ "x$interfaceName" != "x" ] && [ "$interfaceName" != "lo" ]; then
checkDefaultRoute_Add $imode $interfaceName $ipaddr $gwip $interfaceName "metric" "add"
NMdispatcherLog "checkDefaultRoute_Add"
fi
# Restart dnsmasq if it's running under NetworkManager
DNSMASQ_PID_FILE="/var/run/NetworkManager/dnsmasq.pid"

if [ -f "$DNSMASQ_PID_FILE" ]; then
DNSMASQ_PID=$(cat "$DNSMASQ_PID_FILE")
if [ -n "$DNSMASQ_PID" ]; then
echo "$DT_TIME Killing dnsmasq PID $DNSMASQ_PID" >> /opt/logs/NMMonitor.log
kill -TERM "$DNSMASQ_PID"
else
echo "$DT_TIME dnsmasq PID not running or invalid" >> /opt/logs/NMMonitor.log
fi
fi
if [ "$interfaceName" == "wlan0" ]; then
touch /tmp/wifi-on
fi
Expand Down
14 changes: 13 additions & 1 deletion lib/rdk/networkConnectionRecovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ StoreTotmpFile()
echo "IsWifiReset=$IsWifiReset" ;
echo "WifiResetTime=$WifiResetTime" ;
echo "dnsFailures=$dnsFailures" ;
echo "count=$count" ;
} >> "$tmpFile"
}

Expand All @@ -88,6 +89,7 @@ if [ ! -f "$tmpFile" ] ; then
IsWifiReset=0
WifiResetTime=0
dnsFailures=0
count=0
{ echo "EthernetLogTimeStamp=$EthernetLogTimeStamp" ;
echo "WifiLogTimeStamp=$WifiLogTimeStamp" ;
echo "GatewayLogTimeStamp=$GatewayLogTimeStamp" ;
Expand All @@ -98,6 +100,7 @@ if [ ! -f "$tmpFile" ] ; then
echo "IsWifiReset=$IsWifiReset" ;
echo "WifiResetTime=$WifiResetTime" ;
echo "dnsFailures=$dnsFailures" ;
echo "count=$count" ;
} >> "$tmpFile"

else
Expand All @@ -111,6 +114,7 @@ else
IsWifiReset=$(grep "IsWifiReset" $tmpFile|awk -F "=" '{print $2}')
WifiResetTime=$(grep "WifiResetTime" $tmpFile|awk -F "=" '{print $2}')
dnsFailures=$(grep "dnsFailures" $tmpFile|awk -F "=" '{print $2}')
count=$(grep "count" $tmpFile|awk -F "=" '{print $2}')
fi
}

Expand All @@ -134,18 +138,26 @@ checkEthernetConnected()
if [ $ret -eq 0 ] ; then
if [ "$lnfSSIDConnected" = "1" ]; then
echo "$(/bin/timestamp) TELEMETRY_WIFI_CONNECTED_LNF" >> "$logsFile"
#Reset count when lnf ssid is connected
count=0
t2CountNotify "SYST_INFO_WIFIConn"
else
echo "$(/bin/timestamp) TELEMETRY_WIFI_NOT_CONNECTED" >> "$logsFile"
#Skip printing wifi not connected log for the first time
[ $count -gt 0 ] && echo "$(/bin/timestamp) TELEMETRY_WIFI_NOT_CONNECTED" >> "$logsFile"
count=$((count + 1))
fi
return 0
else
echo "$(/bin/timestamp) TELEMETRY_WIFI_CONNECTED" >> "$logsFile"
#Reset count when connectivity is good
count=0
t2CountNotify "SYST_INFO_WIFIConn"
return 0
fi
else
echo "$(/bin/timestamp) TELEMETRY_ETHERNET_CONNECTED" >> "$logsFile"
#Reset count when connectivity is good
count=0
t2CountNotify "SYST_INFO_ETHConn"
return 1
fi
Expand Down
50 changes: 0 additions & 50 deletions lib/rdk/opt-override.sh

This file was deleted.

113 changes: 0 additions & 113 deletions lib/rdk/reboot-count-checker.sh

This file was deleted.

40 changes: 0 additions & 40 deletions systemd_units/reboot-counter.service

This file was deleted.

28 changes: 0 additions & 28 deletions systemd_units/reboot-counter.timer

This file was deleted.

28 changes: 0 additions & 28 deletions systemd_units/reboot-notifier@.service

This file was deleted.

Loading