-
Notifications
You must be signed in to change notification settings - Fork 42
RDKB-63540: [XB10] RIPv2 enable and mode restriction for single build #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
c972f76
4bec189
c28e379
c0f784e
fa8ebd6
8481cde
7a17cd6
ff22a0d
d081479
1e0300a
1befb01
8767f34
8ba73f0
22e7bd2
b65aa0f
70a0e0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,13 +167,44 @@ service_start () | |
| # Don't Zero iptable Counter | ||
| echo "58 * * * * /usr/bin/GenFWLog -nz" >> $CRONTAB_FILE | ||
|
|
||
| # Monitor syscfg DB every 15minutes | ||
| echo "*/15 * * * * /usr/ccsp/tad/syscfg_recover.sh" >> $CRONTAB_FILE | ||
| SELFHEAL_CRON_ENABLE=$(syscfg get SelfHealCronEnable) | ||
| SELFHEAL_ENABLE=$(syscfg get selfheal_enable) | ||
| if [ "$SELFHEAL_CRON_ENABLE" = "true" ] && [ "$SELFHEAL_ENABLE" = "true" ]; then | ||
| echo_t "SelfHeal Cron is enabled" | ||
| # Monitor selfheal_aggressive.sh based on syscfg value | ||
| AGGRESSIVE_INTERVAL=$(syscfg get AggressiveInterval) | ||
| if [ -z "$AGGRESSIVE_INTERVAL" ]; then | ||
| AGGRESSIVE_INTERVAL=5 | ||
| fi | ||
| #Write cron rule | ||
| echo "*/$AGGRESSIVE_INTERVAL * * * * /usr/ccsp/tad/selfheal_aggressive.sh" >> $CRONTAB_FILE | ||
|
|
||
| # Monitor resource_monitor.sh based on syscfg value | ||
| RESOURCE_MONITOR_INTERVAL=$(syscfg get resource_monitor_interval) | ||
| if [ -z "$RESOURCE_MONITOR_INTERVAL" ]; then | ||
| RESOURCE_MONITOR_INTERVAL=15 | ||
| fi | ||
| echo "*/$RESOURCE_MONITOR_INTERVAL * * * * /usr/ccsp/tad/resource_monitor.sh" >> $CRONTAB_FILE | ||
|
|
||
| # Monitor self_heal_connectivity_test.sh based on syscfg value | ||
| SELFHEAL_PING_INTERVAL=$(syscfg get ConnTest_PingInterval) | ||
| if [ -z "$SELFHEAL_PING_INTERVAL" ]; then | ||
| SELFHEAL_PING_INTERVAL=60 | ||
| fi | ||
| echo "*/$SELFHEAL_PING_INTERVAL * * * * /usr/ccsp/tad/self_heal_connectivity_test.sh" >> $CRONTAB_FILE | ||
|
Comment on lines
+175
to
+194
|
||
| echo_t "Selfheal cron jobs are started" | ||
|
|
||
| else | ||
| echo_t "Selfheal cron is disabled" | ||
| # Monitor syscfg DB every 15minutes | ||
| echo "*/15 * * * * /usr/ccsp/tad/syscfg_recover.sh" >> $CRONTAB_FILE | ||
|
|
||
| # Monitor resource_monitor.sh every 5 minutes TCCBR-3288 | ||
| # if [ "$BOX_TYPE" = "TCCBR" ]; then | ||
| echo "*/5 * * * * /usr/ccsp/tad/resource_monitor_recover.sh" >> $CRONTAB_FILE | ||
| # fi | ||
|
|
||
| fi | ||
|
|
||
| # RDKB-23651 | ||
| if [ "$THERMALCTRL_ENABLE" = "true" ]; then | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description focuses on RIPv2 enable/mode restriction for XB10/Single build, but this change set also includes substantial unrelated updates (MAP-E firewall/NAT logic, self-heal cron job scheduling, voice syscfg mapping, pmon/dhcp_server monitoring changes, defaults files, and changelog bump). Please either scope this PR down or update the description (and risk/testing section) to cover these additional behavioral changes.