diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 3af30c15..c369bc3e 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -93,6 +93,9 @@ function detect_usb_drive { if [[ "$1" == "nopath" ]]; then partition_number='' fi + if [ -b /dev/sda${partition_number} ]; then + USB_DRIVE=/dev/sda${partition_number} + fi if [ -b /dev/sdb${partition_number} ]; then USB_DRIVE=/dev/sdb${partition_number} fi