diff options
author | John Crispin <blogic@openwrt.org> | 2013-11-14 13:41:13 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-11-15 17:05:20 +0100 |
commit | 916f95cb58604038695347ee41a430d8ca1f0556 (patch) | |
tree | 5dbb52a6adaf28c6c6989ea37e6975aa52075160 /system.c | |
parent | f9d31edb8938341b9217ee4c14eb58111414eb97 (diff) | |
download | unitd-916f95cb58604038695347ee41a430d8ca1f0556.tar unitd-916f95cb58604038695347ee41a430d8ca1f0556.zip |
debloat and reorganize code
split app into procd and init binaries
remove log support, this is an external service now
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -25,7 +25,6 @@ #include "procd.h" #include "watchdog.h" -#include "hotplug.h" static struct blob_buf b; @@ -189,12 +188,7 @@ static int system_upgrade(struct ubus_context *ctx, struct ubus_object *obj, struct ubus_request_data *req, const char *method, struct blob_attr *msg) { - procd_reconnect_ubus(0); - log_shutdown(); - hotplug_shutdown(); - upgrade_running = 1; - return 0; } |