projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8716a45
)
execute the "running" hook once the daemon is started
author
John Crispin
<blogic@openwrt.org>
Wed, 4 Sep 2013 14:56:24 +0000
(16:56 +0200)
committer
John Crispin
<blogic@openwrt.org>
Fri, 13 Sep 2013 15:35:55 +0000
(17:35 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index 7776f9973743a2e1b89b9d03cc1df854fb8968fd..29acc57eef7ff20760864c4a06d07a3a000642cd 100644
(file)
--- a/
service.c
+++ b/
service.c
@@
-17,6
+17,7
@@
#include "procd.h"
#include "service.h"
#include "instance.h"
+#include "rcS.h"
struct avl_tree services;
static struct blob_buf b;
@@
-125,6
+126,8
@@
service_update(struct service *s, struct blob_attr *config, struct blob_attr **t
vlist_flush(&s->instances);
}
+ rc(s->name, "running");
+
return 0;
}