From b86d6ce2ef46a5d5bab3a64343f4cdf17c6d99e8 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 24 Jul 2012 11:13:18 +0000 Subject: [PATCH] Provide bootoption to trace executed commands Also display timestamps of the executed commands inside PS4 prompt which makes tracing easier From: Michael Prokop --- deployment.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment.sh b/deployment.sh index 9ee2b2a..dbceb32 100755 --- a/deployment.sh +++ b/deployment.sh @@ -116,6 +116,11 @@ EOF ### }}} # provide method to boot live system without running installer +if checkBootParam debugmode ; then + set -x + PS4='+\t ' +fi + if checkBootParam noinstall ; then echo "Exiting as requested via bootoption noinstall." exit 0