summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.tuna.rc11
-rw-r--r--ueventd.tuna.rc7
2 files changed, 17 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
diff --git a/ueventd.tuna.rc b/ueventd.tuna.rc
index 4c8d83d..fc8d9ce 100644
--- a/ueventd.tuna.rc
+++ b/ueventd.tuna.rc
@@ -12,3 +12,10 @@
/dev/accelirq 0660 system system
/dev/compassirq 0660 system system
/dev/timerirq 0660 system system
+
+#for RIL
+/dev/ttyO0 0666 radio radio
+/dev/umts_boot0 0666 radio radio
+/dev/umts_ipc0 0666 radio radio
+/dev/umts_rfs0 0666 radio radio
+/dev/block/mmcblk0p9 0666 radio radio