init.rc: cleaned up, system rw

This commit is contained in:
codeworkx 2011-06-11 15:20:23 +02:00
parent 7a2f142613
commit c6c1f27430

View File

@ -117,7 +117,7 @@ loglevel 3
on fs
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
mount ext4 /dev/block/mmcblk0p9 /system wait ro
mount ext4 /dev/block/mmcblk0p9 /system wait rw
mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
exec check_filesystem /dev/block/mmcblk0p10 ext4
mount ext4 /dev/block/mmcblk0p10 /data nosuid nodev noatime wait crypt discard,noauto_da_alloc
@ -290,7 +290,6 @@ on post-fs
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
# USB Device permission
chown system system /sys/devices/platform/android_usb/UsbMenuSel
chown system system /sys/devices/platform/android_usb/tethering
@ -587,10 +586,6 @@ on boot
service ueventd /sbin/ueventd
critical
# readahead files which are used in "preloadClasses"
service sreadaheadd /sbin/sreadaheadd
oneshot
service console /system/bin/sh
console
disabled