From 7177b0765b092e7a1c7b068cedeebac591313705 Mon Sep 17 00:00:00 2001 From: Leo Chang Date: Thu, 12 Dec 2013 13:17:16 -0800 Subject: [PATCH] wlan: make PTT app as default running daemon PTT app will running as default daemon. Mission mode, will control RIDL and Quarky Start with root prevelige and drop to SYSTEM FFBM mode, will handle FTM Will run root always. Only FFBM mode will start this mode. Change-Id: I18a64b35d2097e274a5a7c6f769382f1af834e9c CRs-fixed: 536472 --- rootdir/etc/init.qcom.factory.sh | 1 + rootdir/etc/init.qcom.rc | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.factory.sh b/rootdir/etc/init.qcom.factory.sh index 302d243a..77e531a2 100644 --- a/rootdir/etc/init.qcom.factory.sh +++ b/rootdir/etc/init.qcom.factory.sh @@ -245,3 +245,4 @@ start qcamerasvr start qcom-usb-sh start qcomsysd + start ptt_ffbm diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 8fd5c989..6296218e 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -512,10 +512,16 @@ service iprenew_p2p /system/bin/dhcpcd -n disabled oneshot -service ptt_socket_app /system/bin/ptt_socket_app +service ptt_socket_app /system/bin/ptt_socket_app -d class main - user system - group system + user root + group root + oneshot + +service ptt_ffbm /system/bin/ptt_socket_app -f -d + user root + group root + disabled oneshot service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG