|
|
|
@ -8,11 +8,11 @@
|
|
|
|
|
function header_info {
|
|
|
|
|
cat <<"EOF"
|
|
|
|
|
______ _ __ __
|
|
|
|
|
/_ __/___ _(_) /_____________ _/ /__
|
|
|
|
|
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
|
|
|
|
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
|
|
|
|
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
|
|
|
|
|
|
|
|
|
/_ __/___ _(_) /_____________ _/ /__
|
|
|
|
|
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
|
|
|
|
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
|
|
|
|
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
}
|
|
|
|
|
clear
|
|
|
|
@ -48,6 +48,7 @@ function msg() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
NODE=$(hostname)
|
|
|
|
|
MSG_MAX_LENGTH=0
|
|
|
|
|
while read -r line; do
|
|
|
|
|
TAG=$(echo "$line" | awk '{print $1}')
|
|
|
|
|
ITEM=$(echo "$line" | awk '{print substr($0,36)}')
|
|
|
|
|