summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh6
1 files 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