aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-10-23 08:15:54 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-10-23 08:15:57 +0200
commitc374711e609229cfdb572239259db20e1f06aceb (patch)
tree4b736a51e9d063970779f06b14958c1ca7b7fd0e /net
parente5dc144968f1f907b2a1711f294af4381277ea82 (diff)
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 <fe@dev.tdt.de>
Diffstat (limited to 'net')
1 files changed, 5 insertions, 0 deletions
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'
}