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>
This commit is contained in:
parent
e5dc144968
commit
c374711e60
1 changed files with 5 additions and 0 deletions
|
@ -111,6 +111,11 @@ stop_service() {
|
||||||
mwan3_unlock "command" "mwan3"
|
mwan3_unlock "command" "mwan3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reload_service() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_trigger 'mwan3'
|
procd_add_reload_trigger 'mwan3'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue