From 532a3ae41638aa28a018eb6e3f63daa84d7a4d57 Mon Sep 17 00:00:00 2001 From: Ecco Park Date: Mon, 27 Mar 2017 16:40:29 -0700 Subject: [PATCH] change the location of binary of the cnss-daemon and cnss_diag Recently, the location to be effective with sepoliy of cnss_diag and cnss-daemon has been changed to /vendor/bin. In order to make the process running during init, the location in the init rc file needs to be changed accordingly. Bug: 36658097 Change-Id: Ic2fdfc8d40909b30d499bffa0d1d5fe311a43394 Signed-off-by: Ecco Park --- init.common.diag.rc.userdebug | 2 +- init.common.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init.common.diag.rc.userdebug b/init.common.diag.rc.userdebug index 9d96659ae..140c6b58e 100644 --- a/init.common.diag.rc.userdebug +++ b/init.common.diag.rc.userdebug @@ -105,7 +105,7 @@ on property:persist.sys.cnss.diag_txt=true on property:persist.sys.cnss.diag_txt=false stop cnss_diag_txt -service cnss_diag_txt /system/bin/cnss_diag -s -f -m /data/cnss_diag/cnss_diag.conf +service cnss_diag_txt /vendor/bin/cnss_diag -s -f -m /data/cnss_diag/cnss_diag.conf class late_start user system group system diff --git a/init.common.rc b/init.common.rc index 5a60c785a..9c2d83f59 100644 --- a/init.common.rc +++ b/init.common.rc @@ -665,13 +665,13 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ disabled oneshot -service cnss_diag /system/bin/cnss_diag -q +service cnss_diag /vendor/bin/cnss_diag -q class late_start user system group system oneshot -service cnss-daemon /system/bin/cnss-daemon -n -l +service cnss-daemon /vendor/bin/cnss-daemon -n -l class late_start user system group system inet wifi