From cc97e682aee17cade6d8fe516509dd0aafbd997e Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Nov 2023 14:03:23 -0500 Subject: [PATCH] Update add-tailscale-lxc.sh tweak --- misc/add-tailscale-lxc.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/misc/add-tailscale-lxc.sh b/misc/add-tailscale-lxc.sh index a4661001..301c4a7e 100644 --- a/misc/add-tailscale-lxc.sh +++ b/misc/add-tailscale-lxc.sh @@ -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)}')