OSDN Git Service

Change ro.rtc_local_time to persist.rtc_local_time
[android-x86/device-generic-common.git] / init.x86.rc
index c9671b1..ac55e4b 100644 (file)
@@ -17,14 +17,13 @@ on init
     # Backward compatibility
     symlink system/lib /lib
 
-    exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
-
 on fs
     mount_all /fstab.${ro.hardware}
 
-on post-fs-data
-    sysclktz 1
+on post-fs
+    exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
 
+on post-fs-data
     mkdir /data/misc/wifi 0770 wifi wifi
     mkdir /data/misc/wifi/sockets 0770 wifi wifi
     mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
@@ -34,9 +33,6 @@ on post-fs-data
     # Set indication (checked by vold) that we have finished this action
     setprop vold.post_fs_data_done 1
 
-on early-boot
-    readprops /x86.prop
-
 on boot
     setprop ro.radio.use-ppp yes
     setprop ro.radio.noril no
@@ -138,6 +134,7 @@ on property:debug.logcat=1
     class_start debug
 
 on property:persist.sys.nativebridge=1
+    mkdir /data/arm 0775 system system
     start nativebridge
 
 on property:persist.sys.nativebridge=0