init: ueventd already needs /acct
Change-Id: Ifae7078aedc1a520ee003160fb17c8893041cb09
diff --git a/etc/init.rc b/etc/init.rc
index e0889c4..fc32bb8 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -17,6 +17,10 @@
# Set the security context of /postinstall if present.
restorecon /postinstall
+ # ueventd wants to write to /acct
+ mount cgroup none /acct cpuacct
+ mkdir /acct/uid
+
start ueventd
service set_permissive /sbin/permissive.sh
@@ -31,9 +35,6 @@
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
- mount cgroup none /acct cpuacct
- mkdir /acct/uid
-
mkdir /system
mkdir /data
mkdir /cache