Merge "correctly mount tmpfs as /tmp in recovery" into android-4.4
diff --git a/etc/init.rc b/etc/init.rc
index 8cff20e..39724d0 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -5,7 +5,7 @@
     start healthd
 
 on init
-    export PATH /sbin
+    export PATH /sbin:/system/bin
     export LD_LIBRARY_PATH .:/sbin
     export ANDROID_ROOT /system
     export ANDROID_DATA /data
@@ -16,7 +16,7 @@
     mkdir /system
     mkdir /data
     mkdir /cache
-    mount /tmp /tmp tmpfs
+    mount tmpfs tmpfs /tmp
 
     chown root shell /tmp
     chmod 0775 /tmp