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

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