icwmp: fix starting of icwmpd when enabled

When disabling, it is necessary to run start after stop. This will not
actually start icwmpd as there is a condition in start_service but it
is needed for the triggers to be registered. Otherwise, icwmpd will
not start later when enabled.
This commit is contained in:
Erik Karlsson 2022-08-31 12:36:57 +02:00 committed by vdutta
parent 038f5af58f
commit 72e5126a0f

View file

@ -259,6 +259,7 @@ reload_service() {
ret="0"
if [ "$enable_cwmp" = "0" ]; then
stop
start
return 0
fi