Merge "console: Add setenv HOSTNAME console" am: d2c66b31a0 am: 5884f608d9
am: 825915bfde

Change-Id: Ia845dfb8cba654766dfff15f2eab7dbee621a45d
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 6533823..89f24cb 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -728,6 +728,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.