diff options
-rw-r--r-- | fstab.tuna | 2 | ||||
-rwxr-xr-x | init.tuna.rc | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -16,4 +16,4 @@ /dev/block/platform/omap/omap_hsmmc.0/by-name/radio /radio emmc defaults defaults # USB storage device -/devices/platform/omap/musb-omap2430/musb-hdrc /storage/usbdisk vfat defaults voldmanaged=usbdisk:auto +/devices/platform/omap/musb-omap2430/musb-hdrc auto vfat defaults voldmanaged=usbdisk:auto diff --git a/init.tuna.rc b/init.tuna.rc index 9bc0ed7..334c606 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -16,9 +16,9 @@ on init symlink /mnt/shell/emulated/0 /storage/emulated/legacy # create directory for mounting usb drives - mkdir /storage/usbdisk 0666 system system - symlink /storage/usbdisk /mnt/usbdisk - symlink /mnt/usbdisk /usbdisk + chmod 0701 /mnt/media_rw + mkdir /mnt/media_rw/usbdisk 0775 system system + mkdir /storage/usbdisk 0000 system system on post-fs-data mkdir /data/media 0770 media_rw media_rw @@ -181,6 +181,10 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \ service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated class late_start +service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk /storage/usbdisk + class late_start + disabled + service p2p_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \ |