mirror of https://github.com/tteck/Proxmox.git
parent
6ab86e5c05
commit
cc97e682ae
|
@ -8,11 +8,11 @@
|
||||||
function header_info {
|
function header_info {
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
______ _ __ __
|
______ _ __ __
|
||||||
/_ __/___ _(_) /_____________ _/ /__
|
/_ __/___ _(_) /_____________ _/ /__
|
||||||
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
||||||
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
||||||
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
|
@ -48,6 +48,7 @@ function msg() {
|
||||||
}
|
}
|
||||||
|
|
||||||
NODE=$(hostname)
|
NODE=$(hostname)
|
||||||
|
MSG_MAX_LENGTH=0
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
TAG=$(echo "$line" | awk '{print $1}')
|
TAG=$(echo "$line" | awk '{print $1}')
|
||||||
ITEM=$(echo "$line" | awk '{print substr($0,36)}')
|
ITEM=$(echo "$line" | awk '{print substr($0,36)}')
|
||||||
|
|
Loading…
Reference in New Issue