Skip to content

Commit 1b8c630

Browse files
committed
cleaning up
1 parent 1e0a568 commit 1b8c630

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

setup.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,11 @@ apply_ibc(){
330330
$access_container sed -in -e '80 s/edemo/'"${LOGIN}"'/' -e ' 85 s/demouser/'"${PASS}"'/' /home/ubuntu/ibc/config.ini
331331
if [ $DEMOACCOUNT -eq 1 ] ; then
332332
$access_container sed -in ' 143 s/=live/=paper/ ' /home/ubuntu/ibc/config.ini
333+
# AcceptNonBrokerageAccountWarning=no
334+
$access_container sed -in ' 321 s/=no/=yes/ ' /home/ubuntu/ibc/config.ini
333335
fi
336+
# MinimizeMainWindow=no
337+
$access_container sed -in ' 206 s/=no/=yes/ ' /home/ubuntu/ibc/config.ini
334338
if [ "$PRODUCT" = "tws" ] ; then
335339
$access_container sed -in ' 21 s/978/981/ ' /home/ubuntu/ibc/twsstart.sh
336340
# $access_container sed -in ' 23 s/=/=paper/ ' /home/ubuntu/ibc/twsstart.sh
@@ -466,15 +470,10 @@ if [ $? -ne 0 ] ; then exit 2 ; fi # return code 2 ---> wron
466470
prepare_lxd
467471

468472
launch_image
469-
#if [ $? -ne 0 ] ; then select_menue=1 ; fi # return code 3
470473

471474
download_ib_software
472475

473-
474476
init_container
475-
if [ $? -eq 3 ] ; then init_container ; fi # wiederholen, falls container nicht r
476-
# rechtzeitig initialisiert war
477-
if [ $? -ne 0 ] ; then exit 4 ; fi # return code 3init_container
478477

479478
apply_ibc
480479

0 commit comments

Comments
 (0)