Commit 156a2944 authored by tywldx's avatar tywldx

a

parent f8628272
......@@ -51,6 +51,7 @@ if [ "$file_count" -gt 0 ]; then
sed -i "s/https\:/http\:/g" $entry
if [ "$re_replace_ip" = true ]; then
echo "is replace public ip for $entry"
echo "$hosts"
for host in $hosts
do
arr=${host//|/ }
......@@ -58,6 +59,7 @@ if [ "$file_count" -gt 0 ]; then
done
else
echo "is replace ip for db_back_file $entry"
echo "$hosts"
for host in $hosts
do
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