1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix on MPTCP init script

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-01 11:59:13 +02:00
parent c36b666666
commit 2311f95abe

View file

@ -602,6 +602,7 @@ service_triggers() {
[ -z "$iface" ] && network_get_physdev iface "$n"
[ -z "$iface" ] && iface=$(ifstatus "$n" | jsonfilter -q -e '@["l3_device"]')
[ -z "$iface" ] && config_get iface "$n" ifname
[ -z "$iface" ] && continue
procd_add_reload_interface_trigger "$n"
procd_add_interface_trigger "interface.*" "$n" /etc/init.d/mptcp reload "$iface"
done