Commit fb95fed6 authored by root's avatar root

update sh

parent de2aaa09
...@@ -5,10 +5,5 @@ ss -tunl | grep 8803 &> /dev/null ...@@ -5,10 +5,5 @@ ss -tunl | grep 8803 &> /dev/null
T=`echo $?` T=`echo $?`
if [[ $T != 0 ]];then if [[ $T != 0 ]];then
cd /home/pi/chain33-pai && chmod +x chain33-pai && nohup ./chain33-pai >>chain33.out & cd /home/pi/chain33-pai && chmod +x chain33-pai && nohup ./chain33-pai >>chain33.out &
sleep 3
ss -tunl | grep 8803 &> /dev/null
echo $?
else
echo $T
fi fi
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