From d2044b1563dd50c6a26927955b767432e57e9865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Aug 2018 22:22:10 +0200 Subject: Add verbosity to turris4x and general --- scripts/utils | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/utils') 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 -- cgit v1.2.3