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

Change-Id: I0ce00d53c7ef176e920d0a2dc3c9136c20383f3d
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.