Merge "init.qcom.rc: FST Manager runs as user "wifi""

This commit is contained in:
Linux Build Service Account 2015-07-23 17:37:15 -07:00 committed by Gerrit - the friendly Code Review server
commit f7b0f8ed9e
1 changed files with 12 additions and 1 deletions

View File

@ -205,6 +205,9 @@ on boot
# Socket location for RIDL
mkdir /dev/socket/RIDL 2770 system system
# bond0 used by FST Manager
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
# msm specific files that need to be created on /data
on post-fs-data
# Create directory for TZ Apps
@ -626,12 +629,20 @@ service wpa_supplicant /system/bin/wpa_supplicant \
disabled
oneshot
# FST Manager is started by property_set("ctl.start", "fstman:<hostap ctrl iface>");
# FST Manager can be started by property_set("ctl.start", "fstman:<hostap ctrl iface>");
service fstman /system/bin/fstman -B -ddd -n -c /data/misc/wifi/fstman.ini
user wifi
group wifi net_admin net_raw
class main
disabled
oneshot
on property:netd.fstman.start=true
start fstman
on property:netd.fstman.start=false
stop fstman
service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG
class late_start
disabled