Merge "console: Add setenv HOSTNAME console"
am: d2c66b31a0

Change-Id: I85addec989872b9e66f0e68c4fea20b969a1eb25
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 87920fb..917e99d 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -725,6 +725,7 @@
     user shell
     group shell log readproc
     seclabel u:r:shell:s0
+    setenv HOSTNAME console
 
 on property:ro.debuggable=1
     # Give writes to anyone for the trace folder on debug builds.