File tree Expand file tree Collapse file tree 5 files changed +6
-22
lines changed
Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 1919
2020Here are the software versions we use:
2121
22- - IoTeX MainNet: v1.10.1
22+ - MainNet: v1.10.1
2323
2424## <a name =" testnet " />Join TestNet
2525To start and run a testnet node, please click [ ** Join Testnet** ] ( https://github.com/iotexproject/iotex-bootstrap/blob/master/README_testnet.md )
@@ -274,11 +274,6 @@ sudo bash # If your docker requires root privilege
274274bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
275275```
276276
277- Currently, auto upgrade is turned on by default. To disable this feature, enter ` N ` when asked following question:
278- ``` bash
279- Do you want to auto update the node [Y/N] (Default: Y)? N
280- ```
281-
282277To stop auto upgdrade cron job and iotex server program, you can run
283278``` bash
284279sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -250,11 +250,6 @@ sudo bash # If your docker requires root privilege
250250bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway
251251```
252252
253- 目前,节点自动升级默认开启。如果需要禁用此功能,请在系统询问以下问题时输入“N”:
254- ``` bash
255- Do you want to auto update the node [Y/N] (Default: Y)? N
256- ```
257-
258253如果需要停止自动升级 cron job 和 iotex 服务器程序,您可以运行以下指令:
259254``` bash
260255sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -248,11 +248,6 @@ sudo bash # If your docker requires root privilege
248248bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet plugin=gateway
249249```
250250
251- 目前,节点自动升级默认开启。如果需要禁用此功能,请在系统询问以下问题时输入“N”:
252- ``` bash
253- Do you want to auto update the node [Y/N] (Default: Y)? N
254- ```
255-
256251如果需要停止自动升级 cron job 和 iotex 服务器程序,您可以运行以下指令:
257252``` bash
258253sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change 1818
1919Here are the software versions we use:
2020
21- - IoTeX TestNet: v1.11.0-rc3
21+ - TestNet: v1.11.0-rc3
2222
2323** Note**
2424To start and run a mainnet node, please click [ ** Join Mainnet** ] ( https://github.com/iotexproject/iotex-bootstrap/blob/master/README.md )
@@ -272,11 +272,6 @@ sudo bash # If your docker requires root privilege
272272bash <( curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) testnet plugin=gateway
273273```
274274
275- Currently, auto upgrade is turned on by default. To disable this feature, enter ` N ` when asked following question:
276- ``` bash
277- Do you want to auto update the node [Y/N] (Default: Y)? N
278- ```
279-
280275To stop auto upgdrade cron job and iotex server program, you can run
281276``` bash
282277sudo bash # If your docker requires root privilege
Original file line number Diff line number Diff line change @@ -396,6 +396,10 @@ function main() {
396396
397397 # Get the latest version.
398398 lastversion=$( curl -sS https://api.github.com/repos/iotexproject/iotex-core/releases/latest| grep -oP ' (?<="tag_name": ")[^"]*' )
399+ if [ " $_GREP_STRING_ " = " TestNet" ]; then
400+ lastversion=$( curl -sS https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/README_testnet.md| grep " ^- $_GREP_STRING_ :" | awk ' {print $3}' )
401+ fi
402+
399403 echo -e " Current operating environment: ${YELLOW} $env ${NC} "
400404 read -p " Install or Upgrade Version; if null the latest [$lastversion ]: " ver
401405 version=${ver:- " $lastversion " } # if $ver ;then version=$ver;else version=$lastversion"
You can’t perform that action at this time.
0 commit comments