init.hikey.rc: move link creation of sdcard to post-fs section
am: 05ba086

* commit '05ba0869a19a342950c4d941948df055421644d2':
  init.hikey.rc: move link creation of sdcard to post-fs section
diff --git a/init.hikey.rc b/init.hikey.rc
index 3cd6fce..67b392b 100644
--- a/init.hikey.rc
+++ b/init.hikey.rc
@@ -7,10 +7,6 @@
     # disable transparent huge pages
     write /sys/kernel/mm/transparent_hugepage/enabled "never"
 
-    # See storage config details at http://source.android.com/tech/storage/
-    symlink /sdcard /mnt/sdcard
-    symlink /sdcard /storage/sdcard0
-
     # Disabled virtual memory randomization
     # (if randomization is enabled the AEM-JIT will have a lower cache hit rate)
     write /proc/sys/kernel/randomize_va_space 0
@@ -31,6 +27,13 @@
     restorecon_recursive /data/local/tmp/lava
 
 on post-fs
+
+    # For legacy support
+    # See storage config details at http://source.android.com/tech/storage/
+    # since /storage is mounted on post-fs in init.rc
+    symlink /sdcard /mnt/sdcard
+    symlink /sdcard /storage/sdcard0
+
     # insert WiFi Modules
     insmod /system/modules/rfkill.ko
     insmod /system/modules/wifi/compat.ko