summaryrefslogtreecommitdiff
path: root/share/hydra/bootless
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydra/bootless')
-rwxr-xr-xshare/hydra/bootless7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/hydra/bootless b/share/hydra/bootless
index eedcf08..3c1dcbe 100755
--- a/share/hydra/bootless
+++ b/share/hydra/bootless
@@ -179,6 +179,13 @@ function hydra_bootless_update {
sudo="sudo"
fi
+ if [ -z "$1" ]; then
+ echo -n "Target device: "
+ read device
+ else
+ device=$1
+ fi
+
# Target device consistency check
if [ ! -b ${device} ]; then
echo "Error: device \"${device}\" not found."