Created
December 16, 2020 11:23
-
-
Save KunYi/54674cceb161e84c0ee3b26fb6a81371 to your computer and use it in GitHub Desktop.
a startup script for my weather station project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# setting ip | |
#/sbin/ifconfig eth0 192.168.92.183/27 192.168.92.161 || true | |
# java -classpath WeatherStation2MQTT.jar com.uwingstech.Main -b test.mosquitto.org -t "FORMOSA00001/WeatherStation01/rx" | |
/usr/bin/java -jar /opt/weather/WeatherStation2MQTT.jar -b 10.50.19.11 -t "none/FORMOSA00001/WeatherStation01/rx" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment