mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -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'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user