Skip to content

Commit

Permalink
Fix mass storage device name
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnBraam committed Mar 25, 2020
1 parent 5266515 commit 7765a4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions initramfs/init_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7765a4a

Please sign in to comment.