[Feature][T108][USB][bug-view-1740]usb not init
Only Configure: No
Affected branch: GSW_V1453
Affected module: USB
Is it affected on IC: only ASR
Self-test: yes
Doc Update: no
Change-Id: I34f64e8896836b766fdbb3c362034fc4db031049
diff --git a/mbtk/rootfs/etc/init.d/mbtk_boot_normal b/mbtk/rootfs/etc/init.d/mbtk_boot_normal
index 7b94a53..4a3dcda 100755
--- a/mbtk/rootfs/etc/init.d/mbtk_boot_normal
+++ b/mbtk/rootfs/etc/init.d/mbtk_boot_normal
@@ -22,12 +22,15 @@
procd_set_param respawn 3600 3 0
procd_close_instance
}
-
+PRODMODE=`uci get cmdline.PROD 2> /dev/null`
start_service() {
echo "--mbtk normal boot start--" > /dev/kmsg
# mbtk_start /bin/mbtk_test
# mbtk_start /bin/mbtk_test "normal" 123
-
+ if [ "$PRODMODE" == "0" ]; then
+ ######### user mode ########
+ /sbin/usb_init &
+ fi
# ÆôÓÃapp dump
DEBUG_ENABLE=`getprop persist.mbtk.appdump 2> /dev/null`
if [ "$DEBUG_ENABLE" == "1" ];then