mirror of
https://github.com/dreemurrs-embedded/Jumpdrive.git
synced 2024-11-16 14:10:06 +00:00
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
|
||||
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
|
||||
ln -s $CONFIGFS/g1/functions/"$usb_rndis_function" $CONFIGFS/g1/configs/c.1 \
|
||||
|| echo " Couldn't symlink $usb_rndis_function"
|
||||
|
Loading…
Reference in New Issue
Block a user