diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-12-18 18:38:17 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-12-18 18:38:17 +0100 |
commit | f821a22de352dee40bbc8c9e31a82dcb3ff35ea6 (patch) | |
tree | 18f11012b177cdad3fbc70fa8ac7b1483ab4db7b /bin | |
parent | e7c31f2df2847f4cfb93be133bb5ca625f75e30b (diff) | |
download | jenkins.debian.net-f821a22de352dee40bbc8c9e31a82dcb3ff35ea6.tar.xz |
fixup
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 6 |
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 |