Skip to content

mwan3: run user scripts in backgorund#992

Merged
gsanchietti merged 1 commit intomainfrom
mwan3-alerts
Jan 13, 2025
Merged

mwan3: run user scripts in backgorund#992
gsanchietti merged 1 commit intomainfrom
mwan3-alerts

Conversation

@filippocarletti
Copy link
Member

@filippocarletti filippocarletti commented Jan 2, 2025

/etc/mwan3.user should finish in a timely manner.
See https://openwrt.org/docs/guide-user/network/wan/multiwan/mwan3#alertsnotifications
As of today, the only script is send-mwan-alert which can take 3 minutes.

#1014

@filippocarletti
Copy link
Member Author

Now that we have forked mwan3, we could avoid using uci-defaults to modify /etc/mwan3.user to ease fixing existing machines: let's talk about it. :-)

/etc/mwan3.user should finish in a timely manner.
(https://openwrt.org/docs/guide-user/network/wan/multiwan/mwan3#alertsnotifications)
As of today, the only script is send-mwan-alert which can take 3
minutes.
filippocarletti added a commit that referenced this pull request Jan 2, 2025
Running /etc/init.d/mwan3 restart produces a rapid disconnect/connect
sequence which triggers an alert lasting a few seconds.
This PR avoid the false alarm delaying disconnect alerts by 30 seconds.

#992 required.
Copy link
Member

@gsanchietti gsanchietti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open an issue and link it to the PR

@gsanchietti gsanchietti merged commit 2123960 into main Jan 13, 2025
1 check passed
@gsanchietti gsanchietti deleted the mwan3-alerts branch January 13, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants