diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index d70c88ca54bffb9c4261dec4773f54211310e721..ce5c052e97bfbd80e5b394254a64fe790a5f7ad0 100644 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -19,8 +19,6 @@ data_link_dir="/usr/local/taos/data" log_link_dir="/usr/local/taos/log" cfg_install_dir="/etc/taos" -local_fqdn="" -server_port=6030 bin_link_dir="/usr/bin" lib_link_dir="/usr/lib" @@ -213,48 +211,6 @@ function install_header() { ${csudo} ln -s ${install_main_dir}/include/taoserror.h ${inc_link_dir}/taoserror.h } -function getLocalFqdn() { - fqdnLine=$(grep fqdn $1 > tmpFqdn.txt) - while read line - do - echo $line - firstChar=${line:0:1} - if [[ "$firstChar" != "#" ]]; then - fqdn=$(echo ${line#*fqdn}) - fqdn=$(echo ${fqdn%%#*}) -# echo "get fqdn from cfg: $fqdn" - break - fi - done tmpServerPort.txt) - while read line - do - echo $line - firstChar=${line:0:1} - if [[ "$firstChar" != "#" ]]; then - port=$(echo ${line#*serverPort}) - port=$(echo ${port%%#*}) -# echo "get serverPort from cfg: $port" - break - fi - done