summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-18 18:38:17 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-18 18:38:17 +0100
commitf821a22de352dee40bbc8c9e31a82dcb3ff35ea6 (patch)
tree18f11012b177cdad3fbc70fa8ac7b1483ab4db7b /bin
parente7c31f2df2847f4cfb93be133bb5ca625f75e30b (diff)
downloadjenkins.debian.net-f821a22de352dee40bbc8c9e31a82dcb3ff35ea6.tar.xz
fixup
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