make the service running trigger be queued directly after the service was startetd
authorJohn Crispin <blogic@openwrt.org>
Mon, 18 Nov 2013 10:32:47 +0000 (11:32 +0100)
committerJohn Crispin <blogic@openwrt.org>
Mon, 18 Nov 2013 10:32:47 +0000 (11:32 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
service/service.c

index aa393b9..4153fec 100644 (file)
@@ -139,7 +139,7 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t
                        vlist_flush(&s->instances);
        }
 
-       rc(s->name, "running");
+       rcnow(s->name, "running");
 
        return 0;
 }