Edit by browser

This commit is contained in:
张冠群 2020-10-19 10:12:29 +08:00
parent 27f22f68a9
commit fc870854e2
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
#/bin/sbin #/bin/sbin
sh /data/workspace/myshixun/step2/wenti.sh > 1.log 2>&1 & sh /data/workspace/myshixun/step2/wenti.sh > /root/1.log 2>&1 &
curl -s http://cip.cc|awk -F '/' '/URL/{print $4}' > 2.log 2>&1 & curl -s http://cip.cc|awk -F '/' '/URL/{print $4}' > /root/2.log 2>&1 &
a=$(cat 1.log) a=$(cat /root/1.log)
b=$(cat 2.log) b=$(cat /root/2.log)
FIND_FILE="/data/workspace/myshixun/step2/wenti.sh" FIND_FILE="/data/workspace/myshixun/step2/wenti.sh"
FIND_STR="ip.cip.cc" FIND_STR="ip.cip.cc"
if [ "$a" = "$b" ] if [ "$a" = "$b" ]