summaryrefslogtreecommitdiff
path: root/gsid.rc
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-02-27 18:26:54 -0800
committerDavid Anderson <dvander@google.com>2019-02-27 18:36:02 -0800
commit646b4b22db43dd36d044646385166ffae16c2231 (patch)
tree8991b63cc470bfe4c55bc682ea4ab9142c568824 /gsid.rc
parent3110fcacffcfc863ffb8113da940a98af700cd28 (diff)
downloadgsid-646b4b22db43dd36d044646385166ffae16c2231.tar.gz
Start gsid on-demand.
With this patch, gsid is disabled by default. It can be enabled on-demand via setting the ctl.start property to "gsid". In addition, this patch cleans up error reporting in gsi_tool to distinguish between binder and IGsiService errors, and fixes a bug where "gsi_tool enable" would not work from a non-root shell. Bug: 126622385 Test: gsid not running by default Change-Id: Icd6350f146d12e71befafa91ac859cf438376bc1
Diffstat (limited to 'gsid.rc')
-rw-r--r--gsid.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsid.rc b/gsid.rc
index 12c6cd4..816b694 100644
--- a/gsid.rc
+++ b/gsid.rc
@@ -1,10 +1,10 @@
service gsid /system/bin/gsid
+ disabled
user root
group root system
on post-fs
mkdir /metadata/gsi 0771 root system
- start gsid
on post-fs-data
mkdir /data/gsi 0700 root root