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
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue