Commit 156a2944 authored by tywldx's avatar tywldx

a

parent f8628272
...@@ -51,6 +51,7 @@ if [ "$file_count" -gt 0 ]; then ...@@ -51,6 +51,7 @@ if [ "$file_count" -gt 0 ]; then
sed -i "s/https\:/http\:/g" $entry sed -i "s/https\:/http\:/g" $entry
if [ "$re_replace_ip" = true ]; then if [ "$re_replace_ip" = true ]; then
echo "is replace public ip for $entry" echo "is replace public ip for $entry"
echo "$hosts"
for host in $hosts for host in $hosts
do do
arr=${host//|/ } arr=${host//|/ }
...@@ -58,6 +59,7 @@ if [ "$file_count" -gt 0 ]; then ...@@ -58,6 +59,7 @@ if [ "$file_count" -gt 0 ]; then
done done
else else
echo "is replace ip for db_back_file $entry" echo "is replace ip for db_back_file $entry"
echo "$hosts"
for host in $hosts for host in $hosts
do do
arr=${host//|/ } arr=${host//|/ }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment