#!/bin/bash## This file is used to install TAOS time-series database on linux systems. The operating system # is required to use systemd to manage services at bootset-e# set -x# -----------------------Variables definition---------------------OS=$(cat /etc/*-release | grep"^NAME=" | cut-d=-f2)len=$(echo${#OS})len=$((len-2))