Browse Source

更新: 解锁, 让老版本生成pid

linj-disanbo 5 years ago
parent
commit
4bd2e0a87d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      update.sh

+ 4 - 0
update.sh

@@ -17,3 +17,7 @@ supervisorctl restart chain33
 sleep 15
 cd /root/chain33
 ./chain33-cli net info
+
+pass="123456"
+[ -e ~/myPass ] && pass=`cat ~/myPass`
+./chain33-cli  wallet unlock  -p $pass -s wallet -t 120