summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-08-15 16:31:31 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-08-15 16:31:31 +0200
commit9ba50c8d2ea5273959a34413c3762ff203c7d465 (patch)
tree7a85625f850c17d5a0dc875b065b01e8610f6049
parent219c3b068fbf197207e39f446ba508a3b4004a14 (diff)
downloaddevice_goldelico_gta04-9ba50c8d2ea5273959a34413c3762ff203c7d465.zip
device_goldelico_gta04-9ba50c8d2ea5273959a34413c3762ff203c7d465.tar.gz
device_goldelico_gta04-9ba50c8d2ea5273959a34413c3762ff203c7d465.tar.bz2
replicant_gta04_install.sh: Explicit Y/N answer
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xreplicant_gta04_install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/replicant_gta04_install.sh b/replicant_gta04_install.sh
index 09ac0ca..8bd0ae3 100755
--- a/replicant_gta04_install.sh
+++ b/replicant_gta04_install.sh
@@ -143,7 +143,7 @@ drive_select_confirm() {
done
echo ""
- echo -n "Are you sure? "
+ echo -n "Are you sure? [Y/N] "
read confirm
if [ "$confirm" = "y" ] || [ "$confirm" = "Y" ]
@@ -186,7 +186,7 @@ drive_empty() {
drive_rescue() {
if [ -f ".drive_start_backup" ]
then
- echo -n "Something went wrong, do you want to restore drive start backup? "
+ echo -n "Something went wrong, do you want to restore drive start backup? [Y/N] "
if [ "$confirm" = "y" ] || [ "$confirm" = "Y" ]
then
dd if=".drive_start_backup" of="$DRIVE" bs=1024 count=1024