From 11a3f1888f0d5e8669e446c225bd1dd400b4b8f0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 May 2013 22:55:12 +0200 Subject: g-i-installation: saner function names --- bin/g-i-installation.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/g-i-installation.sh') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 414c596d..d01a15c7 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2012 Holger Levsen +# Copyright 2012-2013 Holger Levsen # released under the GPLv=2 # $1 = vnc-display, each job should have a unique one, so jobs can run in parallel @@ -240,7 +240,7 @@ do_and_report() { backup_screenshot } -rescue_action() { +rescue_boot() { # boot in rescue mode let MY_NR=NR-TRIGGER_NR TOKEN=$(printf "%04d" $MY_NR) @@ -269,7 +269,7 @@ rescue_action() { esac } -normal_action() { +post_install_boot() { # normal boot after installation let MY_NR=NR-TRIGGER_NR TOKEN=$(printf "%04d" $MY_NR) @@ -804,9 +804,9 @@ monitor_system() { # let's drive this further (once/if triggered) if [ $TRIGGER_NR -ne 0 ] && [ $TRIGGER_NR -ne $NR ] ; then case $MODE in - rescue) rescue_action + rescue) rescue_boot ;; - normal) normal_action + post_install) post_install_boot ;; *) ;; esac @@ -967,7 +967,7 @@ case $NAME in sleep 15 boot_system let START_TRIGGER=NR+500 - monitor_system normal $START_TRIGGER + monitor_system post_install $START_TRIGGER save_logs ;; esac -- cgit v1.2.3-70-g09d2