forked from ibm-watson-iot/mas-scada-historian-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli.sh
executable file
·30 lines (25 loc) · 977 Bytes
/
cli.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#
# IBM Maximo Application Suite - SCADA Historian Connector
#
# -------------------------------------------------------------------------
# Licensed Materials - Property of IBM
# 5737-M66, 5900-AAA
# (C) Copyright IBM Corp. 2021-2022 All Rights Reserved.
# US Government Users Restricted Rights - Use, duplication, or disclosure
# restricted by GSA ADP Schedule Contract with IBM Corp.
# -------------------------------------------------------------------------
#
MAS_SHC_HOME="$HOME/ibm/masshc"
export MAS_SHC_HOME
MAS_SHC_BIN="${MAS_SHC_HOME}/bin"
export MAS_SHC_BIN
MAS_SHC_LIB="${MAS_SHC_HOME}/lib"
export MAS_SHC_LIB
IBM_SCADA_CONNECTOR_INSTALL_DIR="${MAS_SHC_HOME}"
export IBM_SCADA_CONNECTOR_INSTALL_DIR
IBM_SCADA_CONNECTOR_DATA_DIR="${MAS_SHC_HOME}"
export IBM_SCADA_CONNECTOR_DATA_DIR
CP="${MAS_SHC_HOME}/jre/lib/*:${MAS_SHC_HOME}/lib/*"
echo ${CP}
${MAS_SHC_HOME}/jre/bin/java -classpath "${CP}" com.ibm.mas.scada.historian.connector.CLIClient "$@"