Skip to content
Snippets Groups Projects
Commit bcd4aeeb authored by alfredo's avatar alfredo
Browse files

rimosso cd

parent 2136c9fd
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,4 @@ status="OFF"
running=$(/usr/bin/pgrep -f code.Antifurto)
if [ -f "/home/debian/CONFIG/antifurto/STATUS" ]; then status=$(cat /home/debian/CONFIG/antifurto/STATUS); fi
if [ ! -z "$running" ]; then status="OFF"; fi
if [ $status == "ON" ]; then (cd /home/debian/CONFIG/antifurto/bin && java -classpath .:/home/debian/CONFIG/antifurto/org.eclipse.paho.client.mqttv3_1.2.5.jar:/home/debian/CONFIG/antifurto/org.json-1.0.0.v201011060100.jar:/home/debian/CONFIG/antifurto/bcprov-jdk13-167.jar:/home/debian/CONFIG/antifurto/bcpkix-jdk13-167.jar code.Antifurto &); fi
if [ $status == "ON" ]; then (java -classpath /home/debian/CONFIG/antifurto/bin:/home/debian/CONFIG/antifurto/org.eclipse.paho.client.mqttv3_1.2.5.jar:/home/debian/CONFIG/antifurto/org.json-1.0.0.v201011060100.jar:/home/debian/CONFIG/antifurto/bcprov-jdk13-167.jar:/home/debian/CONFIG/antifurto/bcpkix-jdk13-167.jar code.Antifurto &); fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment