From f821a22de352dee40bbc8c9e31a82dcb3ff35ea6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 18 Dec 2012 18:38:17 +0100 Subject: fixup --- bin/g-i-installation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index ee8c4729..7e1a8e6e 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -184,9 +184,9 @@ rescue_action() { # boot in rescue mode if [ $TRIGGER_NR -ne 0 ] ; then set -x - let MY_NR=TRIGGER_NR-NR + let MY_NR=NR-TRIGGER_NR TOKEN=$(printf "%03d" $MY_NR) - case $MY_NR in + case $TOKEN in 010) do_and_report key tab ;; 020) do_and_report key enter @@ -216,7 +216,7 @@ rescue_action() { normal_action() { # normal boot after installation if [ $TRIGGER_NR -ne 0 ] ; then - let MY_NR=TRIGGER_NR-NR + let MY_NR=NR-TRIGGER_NR TOKEN=$(printf "%03d" $MY_NR) case $TOKEN in 010) do_and_report type jenkins -- cgit v1.2.3-70-g09d2