From d42db146f8d2a7bdb7b93061dcf38a7436c050f8 Mon Sep 17 00:00:00 2001 From: mirocow Date: Tue, 16 Feb 2016 19:58:00 +0400 Subject: [PATCH] Update backup_db.sh --- backup_db.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backup_db.sh b/backup_db.sh index 0345639..c69ef19 100755 --- a/backup_db.sh +++ b/backup_db.sh @@ -24,6 +24,13 @@ fi # === FUNCTION === f_log() { + local bold=$(tput bold) + local yellow=$(tput setf 6) + local red=$(tput setf 4) + local green=$(tput setf 2) + local reset=$(tput sgr0) + local toend=$(tput hpa $(tput cols))$(tput cub 6) + logger "BACKUP: $@" if [ $VERBOSE -eq 1 ]; then