diff options
author | Benoit Goby <benoit@android.com> | 2011-06-19 16:12:21 -0700 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-06-24 01:06:01 -0700 |
commit | 8fe1f9d02cab9673614fcfc9e92b21f7579c2485 (patch) | |
tree | 8636bc166de2e1b54fde3ae3fae87e617870830d /init.tuna.rc | |
parent | 2a016a6e9fbb07ad9f0eec09406ed9790b55a60f (diff) | |
download | device_samsung_tuna-8fe1f9d02cab9673614fcfc9e92b21f7579c2485.tar.gz device_samsung_tuna-8fe1f9d02cab9673614fcfc9e92b21f7579c2485.tar.bz2 device_samsung_tuna-8fe1f9d02cab9673614fcfc9e92b21f7579c2485.zip |
Fix permissions for RIL and create /efs
Change-Id: Ie67efc72686e9a4f438ea2bc5d8f6d8b69c868d7
Diffstat (limited to 'init.tuna.rc')
-rw-r--r-- | init.tuna.rc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/init.tuna.rc b/init.tuna.rc index 7184669..e017ed8 100644 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -20,14 +20,20 @@ on boot chmod 0666 /dev/pvrsrvkm on fs + mkdir /efs 0775 radio radio mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data wait noatime nosuid nodev mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache wait noatime nosuid nodev + mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /efs wait noatime nosuid nodev # change permissions for Tiler driver chmod 0777 /dev/tiler chmod 0777 /dev/dmm +# We chown/chmod /efs because mount is run as root + defaults + chown radio radio /efs + chmod 0775 /efs + # take a wakelock on boot until PM is working write /sys/power/wake_lock hack @@ -45,7 +51,10 @@ service pvrsrvinit /vendor/bin/pvrsrvinit oneshot # create filesystems if necessary -service setup_fs /system/bin/setup_fs /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata +service setup_fs /system/bin/setup_fs \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/cache \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/efs class core user root group root |