Skip to content

Commit

Permalink
change the location of binary of the cnss-daemon and cnss_diag
Browse files Browse the repository at this point in the history
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 <eccopark@google.com>
  • Loading branch information
eccopark committed Mar 27, 2017
1 parent 5c0c55e commit 532a3ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init.common.diag.rc.userdebug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions init.common.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 532a3ae

Please sign in to comment.