summaryrefslogtreecommitdiffstats
path: root/state.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-11 19:28:13 +0100
committerJohn Crispin <blogic@openwrt.org>2013-11-12 10:32:32 +0100
commitf9d31edb8938341b9217ee4c14eb58111414eb97 (patch)
treeeeb48ec34c2f8a30df50de201b5f103e991466f0 /state.c
parentcd4af8eb78c30718f999c487c93e257bbd969cb1 (diff)
downloadunitd-f9d31edb8938341b9217ee4c14eb58111414eb97.tar
unitd-f9d31edb8938341b9217ee4c14eb58111414eb97.zip
add service_validator support
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'state.c')
-rw-r--r--state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/state.c b/state.c
index 90e883c..f83032c 100644
--- a/state.c
+++ b/state.c
@@ -20,6 +20,7 @@
#include "syslog.h"
#include "hotplug.h"
#include "watchdog.h"
+#include "service.h"
enum {
STATE_NONE = 0,
@@ -51,6 +52,7 @@ static void state_enter(void)
LOG("- init -\n");
log_init();
procd_connect_ubus();
+ service_init();
procd_inittab();
procd_inittab_run("respawn");
procd_inittab_run("askconsole");