From 7b714c741725c5f0f8a0476c5860c01f017ab8bc Mon Sep 17 00:00:00 2001 From: BonzaiBrains <133261117+BonzaiBrains@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:12:58 +0100 Subject: [PATCH] add: debug mode; docs: removed dependencies from comments --- shemum | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/shemum b/shemum index e2942b1..141698b 100755 --- a/shemum +++ b/shemum @@ -2,18 +2,16 @@ # # Author: Adrian Erik Hoemann # Date: 9.18.2024 -# -# Dependencies: -# * qemu -# * sh -# * curl -# * syslog -# - logger # Debug mode # To enable debug mode remove the comment. -# Default: ON -#:exec 1> >(logger -s -t $(basename $0)) 2>&1 +# Default: true +DEBUG=true + +# Debug mode check +if [$DEBUG -eq true] + set +x +fi # Arguments OPTION=$1