aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-31 18:59:55 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-31 18:59:55 -0200
commit40cc258b07fb9998705c8410d901e05a8973195e (patch)
tree34575b447e07f90a8995ab87548e9b9cd5410091
parent080f304555fd6bf06dc5ab10267836536a560e1c (diff)
downloadhydra-40cc258b07fb9998705c8410d901e05a8973195e.tar.gz
hydra-40cc258b07fb9998705c8410d901e05a8973195e.tar.bz2
Adding missing code at 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."