projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dc144
)
mwan3: fix reload handling
author
Florian Eckert
<fe@dev.tdt.de>
Fri, 23 Oct 2020 06:15:54 +0000
(08:15 +0200)
committer
Florian Eckert
<fe@dev.tdt.de>
Fri, 23 Oct 2020 06:15:57 +0000
(08:15 +0200)
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>
net/mwan3/files/etc/init.d/mwan3
patch
|
blob
|
history
diff --git
a/net/mwan3/files/etc/init.d/mwan3
b/net/mwan3/files/etc/init.d/mwan3
index 595fabf7779e36aebb7f9f936569b12982804383..b7cf91eb175dbb5fa1e041fb81d4914f2428aa35 100755
(executable)
--- 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'
}