From 40cc258b07fb9998705c8410d901e05a8973195e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 31 Dec 2012 18:59:55 -0200 Subject: Adding missing code at bootless --- share/hydra/bootless | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share/hydra/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." -- cgit v1.2.3