Skip to content

Commit

Permalink
Do not reload service on openmptcprouter uci config when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Jul 25, 2024
1 parent bec9a3c commit dbdea00
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion luci-app-openmptcprouter/root/etc/init.d/openmptcprouter
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,5 @@ reload_service() {
}

service_triggers() {
procd_add_reload_trigger "openmptcprouter" "network"
procd_add_reload_trigger "network"
}
6 changes: 3 additions & 3 deletions omr-6in4/files/etc/init.d/omr-6in4
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ start_service() {
fi
}

service_triggers() {
procd_add_reload_trigger "openmptcprouter"
}
#service_triggers() {
# procd_add_reload_trigger "openmptcprouter"
#}

reload_service() {
stop
Expand Down
2 changes: 1 addition & 1 deletion openmptcprouter/files/etc/init.d/mptcpovervpn
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,5 @@ boot() {
}

service_triggers() {
procd_add_reload_trigger "openmptcprouter" "network"
procd_add_reload_trigger "network"
}
2 changes: 1 addition & 1 deletion openmptcprouter/files/etc/init.d/openvpnbonding
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ start_service()
}

service_triggers() {
procd_add_reload_trigger "openvpn" "network" "openmptcprouter"
procd_add_reload_trigger "openvpn" "network"
}

0 comments on commit dbdea00

Please sign in to comment.