Update backup.sh
This commit is contained in:
parent
dbb56b45b5
commit
14041fb59c
|
@ -18,6 +18,13 @@ if [ ! -n "$BASH" ] ;then echo Please run this script $0 with bash; exit 1; 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
|
||||
|
|
Loading…
Reference in a new issue