diff --git a/gaboshlib/g_echo_note.bashfunc b/gaboshlib/g_echo_note.bashfunc new file mode 100644 index 0000000..3e50f7b --- /dev/null +++ b/gaboshlib/g_echo_note.bashfunc @@ -0,0 +1,10 @@ +#!/bin/bash + +function g_echo_note { + [ -z "$1" ] && return 0 + echo -en "\033[97m$(g_date_print) \033[36mNOTE:" + cat <<< "$@" + echo -en "\033[0m" + [ -z $g_alltosyslog ] && return 0 + g_logger $@ +}