init.qcom.usb: write serial number in .rc on boot

At present we are not writing serial number on boot,
write serial number on boot so as to get appropriate serial
number on boot.

Change-Id: I58ad9af3810a712507cfa76be99451b109a37ced
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
This commit is contained in:
Sai Krishna Juturi 2017-06-08 10:54:54 +05:30 committed by Gerrit - the friendly Code Review server
parent c205570f44
commit 71bd47c059
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ on charger
setprop sys.usb.config mass_storage setprop sys.usb.config mass_storage
on boot on boot
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
mkdir /dev/usb-ffs 0770 shell shell mkdir /dev/usb-ffs 0770 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell mkdir /dev/usb-ffs/adb 0770 shell shell
mount configfs none /config mount configfs none /config