From ef75dd759a44224c55d2a15878474c84f257f807 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Fri, 27 Jan 2017 11:44:57 -0800 Subject: wifi-events.rc: initilize on boot_completed Boot up time improved ~300ms on device Bug: 34740663 Test: on marlin Change-Id: Ic12e73d601ed6a7460e49e1ed27a75bb289f9157 --- service/wifi-events.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'service') diff --git a/service/wifi-events.rc b/service/wifi-events.rc index ff5c3b7fe..bf2d75ebc 100644 --- a/service/wifi-events.rc +++ b/service/wifi-events.rc @@ -14,7 +14,7 @@ # limitations under the License. # -on post-fs +on property:sys.boot_completed=1 # Create trace buffer, and set basic configuration. mkdir /sys/kernel/debug/tracing/instances/wifi 711 restorecon_recursive /sys/kernel/debug/tracing/instances/wifi @@ -55,6 +55,6 @@ on post-fs chmod 400 /sys/kernel/debug/tracing/instances/wifi/free_buffer chmod 600 /sys/kernel/debug/tracing/instances/wifi/trace -on property:wifi.interface=* +on property:sys.boot_completed=1 && property:wifi.interface=* # Override default value. - write /sys/kernel/debug/tracing/instances/wifi/events/net/filter name==${wifi.interface} \ No newline at end of file + write /sys/kernel/debug/tracing/instances/wifi/events/net/filter name==${wifi.interface} -- cgit v1.2.3