summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-07-26 14:12:09 +0100
committerJon Medhurst <tixy@linaro.org>2013-08-08 10:34:46 +0100
commit0d3bf4987f4ab8d48460467a43d8075e9de9ceb7 (patch)
tree0aacaedbf94b024717f2c52f4d3332a3b9b1f441
parenta05fa82721d18c634b3cc0993e709718452023cd (diff)
downloadcore-linaro_android_4.3.tar.gz
rootdir: init.rc: Make gatord a oneshot servicelinaro_android_4.3
A common scenario is for developers and testers to build custom kernels for use with Android images and forget or not know to also rebuild then install the gator module. This leads to a kernel version mismatch in the gator module preventing it from loading and causing the user-side gator daemon to fail to start. When this occurs, the gatord service is repeatedly restarted every five seconds and this background activity can affect any profiling and benchmarking activity being undertaken. We can prevent this situation by marking gatord as a 'oneshot' service so there is only one attempt to start it at boot. Change-Id: I824b306f7b6618ce210bc44843dd2e1730ce8304 Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 8a2a34189..88936c568 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -624,3 +624,4 @@ service mdnsd /system/bin/mdnsd
service gatord /system/bin/gatord -c /data/misc/gatord/configuration.xml
class main
user root
+ oneshot