Fix mass storage device name
This commit is contained in:
parent
5266515906
commit
7765a4a74a
|
@ -55,6 +55,9 @@ setup_usb_configfs() {
|
||||||
# Set up mass storage to internal EMMC
|
# Set up mass storage to internal EMMC
|
||||||
echo $EMMC > $CONFIGFS/g1/functions/"$usb_mass_storage_function"/lun.0/file
|
echo $EMMC > $CONFIGFS/g1/functions/"$usb_mass_storage_function"/lun.0/file
|
||||||
|
|
||||||
|
# Rename the mass storage device
|
||||||
|
echo "JumpDrive" > $CONFIGFS/g1/functions/"$usb_mass_storage_function"/lun.0/inquiry_string
|
||||||
|
|
||||||
# Link the rndis/mass_storage instance to the configuration
|
# Link the rndis/mass_storage instance to the configuration
|
||||||
ln -s $CONFIGFS/g1/functions/"$usb_rndis_function" $CONFIGFS/g1/configs/c.1 \
|
ln -s $CONFIGFS/g1/functions/"$usb_rndis_function" $CONFIGFS/g1/configs/c.1 \
|
||||||
|| echo " Couldn't symlink $usb_rndis_function"
|
|| echo " Couldn't symlink $usb_rndis_function"
|
||||||
|
|
Loading…
Reference in New Issue