From 72e5126a0f1867b7635fc44a826fcfce3f53f90e Mon Sep 17 00:00:00 2001 From: Erik Karlsson Date: Wed, 31 Aug 2022 12:36:57 +0200 Subject: [PATCH] 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. --- icwmp/files/etc/init.d/icwmpd | 1 + 1 file changed, 1 insertion(+) diff --git a/icwmp/files/etc/init.d/icwmpd b/icwmp/files/etc/init.d/icwmpd index a4dc10d13..c508c1743 100755 --- a/icwmp/files/etc/init.d/icwmpd +++ b/icwmp/files/etc/init.d/icwmpd @@ -259,6 +259,7 @@ reload_service() { ret="0" if [ "$enable_cwmp" = "0" ]; then stop + start return 0 fi