From: Silvio Rhatto Date: Mon, 31 Dec 2012 20:59:55 +0000 (-0200) Subject: Adding missing code at bootless X-Git-Tag: 0.1~90 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=40cc258b07fb9998705c8410d901e05a8973195e;p=hydra.git Adding missing code at bootless --- 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."