| #!/bin/sh /etc/rc.common | |
| # mrvl_init script | |
| # Init scripts execution order: | |
| START=13 | |
| STOP=89 | |
| start() { | |
| echo "Starting Production Boot Script" | |
| # Load production dedicated scripts | |
| /etc/init.d/lte-telephony-prod start | |
| if cat /etc/mversion | grep p701 > /dev/null | |
| then | |
| echo "p701 has no sd card and wifi" | |
| else | |
| /etc/init.d/mwlan_prod start | |
| /etc/init.d/sdcard_mount start | |
| fi | |
| /etc/init.d/done start | |
| } | |
| stop() { | |
| echo "Stopping Production Boot Script" | |
| echo 0 > /sys/class/android_usb/android0/enable | |
| } |