File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,18 +30,22 @@ function initInstaller(){
3030 rm ./$MODULE_FOLDER /*
3131}
3232
33- MODE_EXTENDED= " extended "
33+ MODE_HELP= " help "
3434MODE_JDK=" jdk"
35+ MODE_EXTENDED=" extended"
3536
3637# Init
3738initInstaller
3839runModule utilities 0
3940
41+ if [ " $1 " == " $MODE_HELP " ]; then
42+ runModule help
43+ fi
44+
4045CREDENTIAL=" "
4146if [ " $1 " == " $MODE_JDK " ]; then
4247 CREDENTIAL=$2
4348 runModule copy-jdk
44- exit 0
4549fi
4650
4751runModule platform
Original file line number Diff line number Diff line change 33if [ -e " /home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" ]; then
44 echo $CREDENTIAL
55 scp " /home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" " $CREDENTIAL :/home/robot"
6+ exit
67else
78 echo " Sorry, the installer didn´t detect ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz"
89 echo " on /home/robot"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " sudo ./installer.sh [Execute modules: platform, java & batteryMonitor]"
4+ echo " sudo ./installer.sh extended [Execute modules: platform, java, batteryMonitor & native-libraries]"
5+ echo " sudo ./installer.sh jdk robot@192.168.1.165 [Copy your JRE to a remote brick]"
6+ exit
You can’t perform that action at this time.
0 commit comments