add: debug mode; docs: removed dependencies from comments
This commit is contained in:
parent
6818ee3e1d
commit
7b714c7417
1 changed files with 7 additions and 9 deletions
16
shemum
16
shemum
|
@ -2,18 +2,16 @@
|
||||||
#
|
#
|
||||||
# Author: Adrian Erik Hoemann
|
# Author: Adrian Erik Hoemann
|
||||||
# Date: 9.18.2024
|
# Date: 9.18.2024
|
||||||
#
|
|
||||||
# Dependencies:
|
|
||||||
# * qemu
|
|
||||||
# * sh
|
|
||||||
# * curl
|
|
||||||
# * syslog
|
|
||||||
# - logger
|
|
||||||
|
|
||||||
# Debug mode
|
# Debug mode
|
||||||
# To enable debug mode remove the comment.
|
# To enable debug mode remove the comment.
|
||||||
# Default: ON
|
# Default: true
|
||||||
#:exec 1> >(logger -s -t $(basename $0)) 2>&1
|
DEBUG=true
|
||||||
|
|
||||||
|
# Debug mode check
|
||||||
|
if [$DEBUG -eq true]
|
||||||
|
set +x
|
||||||
|
fi
|
||||||
|
|
||||||
# Arguments
|
# Arguments
|
||||||
OPTION=$1
|
OPTION=$1
|
||||||
|
|
Loading…
Reference in a new issue