summaryrefslogtreecommitdiff
path: root/scripts/utils
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-30 22:22:10 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-30 22:31:58 +0200
commitd2044b1563dd50c6a26927955b767432e57e9865 (patch)
treedec7c519c1f1b5a6b8aed533454d2a2a848dc5ba /scripts/utils
parentdbad0f7a8f710dbf153d1eca123fb3d7ef2f4248 (diff)
downloadlaminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.tar.gz
laminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.tar.bz2
laminar-cnf-d2044b1563dd50c6a26927955b767432e57e9865.zip
Add verbosity to turris4x and general
Diffstat (limited to 'scripts/utils')
-rw-r--r--scripts/utils4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/utils b/scripts/utils
index 86edaa9..a955699 100644
--- a/scripts/utils
+++ b/scripts/utils
@@ -1,5 +1,9 @@
# vim: ft=sh
+if [ "$V" -ge 2 ]; then
+ set -x
+fi
+
## Simple echo wrappers #########################################################
echo_stage() {
echo -e "\033[1;34m========== $@ ==========\033[0m ($(date))" >&2