OSDN Git Service

Revert back change in init.rc.
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2009 09:46:22 +0000 (17:46 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2009 09:53:38 +0000 (17:53 +0800)
Permission setting is done globally in system/core.
No need to do again per product.

init.rc

diff --git a/init.rc b/init.rc
index 632b24d..8b98eb5 100644 (file)
--- a/init.rc
+++ b/init.rc
@@ -20,10 +20,7 @@ loglevel 3
 
 # create mountpoints and mount tmpfs on sqlite_stmt_journals and debugfs on d
     mkdir /d
-    mkdir /sdcard 0000 system system
-    mkdir /sdcard
-    chmod 0777 /sdcard
-    chown system system /sdcard
+    mkdir /sdcard 0777 system system
     mkdir /system
     mkdir /data 0771 system system
     mkdir /cache 0770 system cache
@@ -54,11 +51,6 @@ loglevel 3
 #   mount ext3 /dev/block/sda5 /cache
     chown system cache /cache
     chmod 0770 /cache
-    chown root camera /dev/video0
-    chmod 0660 /dev/video0
-    chown system audio /dev/snd
-    chmod 0664 /dev/snd
-
 
     # This may have been created by the recovery system with odd permissions
     chown system system /cache/recovery