Parent: [f5c36d] (diff)

Child: [55208c] (diff)

Download this file

setEnv.sh    13 lines (11 with data), 536 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/bin/bash
fuser -n tcp -k 80
unlink /dev/tty63
unlink /dev/ttyS88
ln -s /dev/ttyACM0 /dev/tty63
ln -s /dev/ttyUSB0 /dev/ttyS88
#echo "" > /opt/c2net-iot-hub/Resources/devices.txt
cd /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code
mvn clean package
#java -Djava.library.path=/usr/lib/rxtx:/usr/lib/jni -jar /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar
java -jar /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar