rootdir: improve readability by cleaning out useless commented out statements
This commit is contained in:
@@ -576,11 +576,6 @@ service ap_daemon /system/bin/wpa_supplicant \
|
||||
on property:persist.uartconsole.enable=1
|
||||
write /proc/mtprintk 1
|
||||
|
||||
# Update the second boot logo
|
||||
# service bootlogoupdater /system/bin/boot_logo_updater
|
||||
# class core
|
||||
# oneshot
|
||||
|
||||
service auto_shutdown /system/bin/sh /system/bin/auto_shutdown.sh
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
+1
-42
@@ -1,4 +1,3 @@
|
||||
# MTK project .rc configure
|
||||
import init.coredump.rc
|
||||
import init.rc.ufsd
|
||||
|
||||
@@ -21,43 +20,15 @@ on post-fs-data
|
||||
# Connectivity related device nodes & configuration (begin)
|
||||
#
|
||||
|
||||
#/dev/ttyMT2 for Connectivity BT/FM/GPS usage
|
||||
# /dev/ttyMT2 for Connectivity BT/FM/GPS usage
|
||||
chmod 0660 /dev/ttyMT2
|
||||
chown system system /dev/ttyMT2
|
||||
|
||||
|
||||
# STP, WMT, GPS, FM and BT Driver
|
||||
# insmod /system/lib/modules/mtk_hif_sdio.ko
|
||||
# insmod /system/lib/modules/mtk_stp_wmt.ko
|
||||
# insmod /system/lib/modules/mtk_stp_uart.ko
|
||||
# insmod /system/lib/modules/mtk_stp_gps.ko
|
||||
# insmod /system/lib/modules/mtk_stp_bt.ko
|
||||
# insmod /system/lib/modules/mtk_fm_drv.ko
|
||||
# insmod /system/lib/modules/mtk_wmt_wifi.ko
|
||||
|
||||
insmod /system/lib/modules/mtk_wmt_detect.ko
|
||||
|
||||
# Create char device file for WMT, GPS, BT, FM, WIFI
|
||||
# mknod /dev/stpwmt c 190 0;
|
||||
# mknod /dev/stpgps c 191 0;
|
||||
# mknod /dev/stpbt c 192 0;
|
||||
|
||||
# chmod 0660 /dev/stpwmt
|
||||
# chown system system /dev/stpwmt
|
||||
#
|
||||
# chmod 0660 /dev/wmtdetect
|
||||
# chown system system /dev/wmtdetect
|
||||
|
||||
mknod /dev/wmtWifi c 153 0
|
||||
chmod 0660 /dev/wmtWifi
|
||||
chown system system /dev/wmtWifi
|
||||
|
||||
# BT
|
||||
# chmod 0660 /dev/stpbt
|
||||
# chown bluetooth radio /dev/stpbt
|
||||
|
||||
# GPS
|
||||
# chown gps gps /dev/stpgps
|
||||
chown gps gps /sys/class/gpsdrv/gps/pwrctl
|
||||
chown gps gps /sys/class/gpsdrv/gps/suspend
|
||||
chown gps gps /sys/class/gpsdrv/gps/state
|
||||
@@ -79,10 +50,6 @@ on post-fs-data
|
||||
chmod 0640 /dev/mtk-kpd
|
||||
chown root audio /dev/mtk-kpd
|
||||
|
||||
#Disable for one Single loader
|
||||
# Load WiFi Driver
|
||||
# insmod /system/lib/modules/wlan.ko
|
||||
|
||||
# Char device for BT 3.0 HS
|
||||
mknod /dev/ampc0 c 151 0
|
||||
chown bluetooth bluetooth /dev/ampc0
|
||||
@@ -93,14 +60,6 @@ on post-fs-data
|
||||
|
||||
on boot
|
||||
export SECONDARY_STORAGE_USB /storage/usbotg
|
||||
# Refer to http://source.android.com/devices/tech/storage/index.html
|
||||
# It said, "Starting in Android 4.4, multiple external storage devices are surfaced to developers through
|
||||
# Context.getExternalFilesDirs(), Context.getExternalCacheDirs(), and Context.getObbDirs().
|
||||
# External storage devices surfaced through these APIs must be a semi-permanent part of the device (such as an SD card slot in a battery compartment).
|
||||
# Developers expect data stored in these locations to be available over long periods of time."
|
||||
# Therefore, if the target has the SD card slot in a battery compartment, we need to specify SECONDARY_STORAGE (*** UN-Comment the following command ***)
|
||||
#
|
||||
# export SECONDARY_STORAGE /storage/sdcard1
|
||||
|
||||
service fuse_usbotg /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbotg /storage/usbotg
|
||||
class late_start
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ on init
|
||||
# See storage config details at http://source.android.com/tech/storage/
|
||||
# fix non-shell uid process can not access shared-sd
|
||||
mkdir /mnt/shell 0700 shell shell
|
||||
#chmod 0750 /mnt/shell
|
||||
|
||||
chown shell sdcard_r /mnt/shell
|
||||
mkdir /mnt/shell/emulated 0700 shell shell
|
||||
mkdir /mnt/shell/emulated/0 0700 shell shell
|
||||
|
||||
Reference in New Issue
Block a user