Child: [b1ca83] (diff)

Download this file

setEnv.sh    11 lines (9 with data), 279 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/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
cd /home/pi/gitlab/c2nethub/
mvn clean package
java -jar /home/pi/gitlab/c2nethub/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar