netd: Remove sigchild handler and fix a bluetooth makefile bug
Signed-off-by: San Mehat <san@google.com>
diff --git a/Android.mk b/Android.mk
index 06af7d7..2f2422e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,7 +30,7 @@
LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES := libsysutils libcutils libnetutils
-ifeq ($(BOARD_HdAVE_BLUETOOTH),true)
+ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_SHARED_LIBRARIES := $(LOCAL_SHARED_LIBRARIES) libbluedroid
LOCAL_CFLAGS := $(LOCAL_CFLAGS) -DHAVE_BLUETOOTH
endif
diff --git a/main.cpp b/main.cpp
index 7c31179..73cbd9c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -43,7 +43,7 @@
LOGI("Netd 1.0 starting");
- signal(SIGCHLD, sigchld_handler);
+// signal(SIGCHLD, sigchld_handler);
if (!(nm = NetlinkManager::Instance())) {
LOGE("Unable to create NetlinkManager");