From: Florian Eckert Date: Fri, 23 Oct 2020 06:15:54 +0000 (+0200) Subject: mwan3: fix reload handling X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c374711e609229cfdb572239259db20e1f06aceb;p=openwrt-packages.git mwan3: fix reload handling When the interface section was changed, the changed configuration options were not applied. This commit adds the service reload handling again. Signed-off-by: Florian Eckert --- diff --git a/net/mwan3/files/etc/init.d/mwan3 b/net/mwan3/files/etc/init.d/mwan3 index 595fabf77..b7cf91eb1 100755 --- a/net/mwan3/files/etc/init.d/mwan3 +++ b/net/mwan3/files/etc/init.d/mwan3 @@ -111,6 +111,11 @@ stop_service() { mwan3_unlock "command" "mwan3" } +reload_service() { + stop + start +} + service_triggers() { procd_add_reload_trigger 'mwan3' }