diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-12-31 18:59:55 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-12-31 18:59:55 -0200 |
commit | 40cc258b07fb9998705c8410d901e05a8973195e (patch) | |
tree | 34575b447e07f90a8995ab87548e9b9cd5410091 | |
parent | 080f304555fd6bf06dc5ab10267836536a560e1c (diff) | |
download | hydra-40cc258b07fb9998705c8410d901e05a8973195e.tar.gz hydra-40cc258b07fb9998705c8410d901e05a8973195e.tar.bz2 |
Adding missing code at bootless
-rwxr-xr-x | share/hydra/bootless | 7 |
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." |