Edit by browser
This commit is contained in:
parent
27f22f68a9
commit
fc870854e2
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue