diff --git a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh index e07bf814..3ff16d5a 100644 --- a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh +++ b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh @@ -43,6 +43,11 @@ for f in ./deviceConfig.properties; do break done +#install mqtt dependency +git clone git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.python.git +cd org.eclipse.paho.mqtt.python +sudo python setup.py install + cd $currentDir #while true; do @@ -64,7 +69,6 @@ if [ $? -ne 0 ]; then exit; fi - echo "--------------------------------------------------------------------------" echo "| Successfully Started " echo "| -------------------------- "