Update add-tailscale-lxc.sh

tweak
This commit is contained in:
tteckster 2023-11-25 14:03:23 -05:00 committed by GitHub
parent 6ab86e5c05
commit cc97e682ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -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)}')