mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #249 from Shabirmean/master
moving down 'paho-library' installation to enable it in both virtual & real mode
This commit is contained in:
commit
c53bc1b825
@ -107,14 +107,15 @@ if [ "$mode" = "N" ]; then
|
||||
sudo python setup.py install
|
||||
cd ..
|
||||
# -----------------------------------------------------
|
||||
# Install Paho-MQTT-Library for MQTT Communication
|
||||
git clone https://github.com/eclipse/paho.mqtt.python.git
|
||||
cd ./paho.mqtt.python
|
||||
sudo python setup.py install
|
||||
cd ..
|
||||
# -----------------------------------------------------
|
||||
fi
|
||||
|
||||
# Install Paho-MQTT-Library for MQTT Communication
|
||||
git clone https://github.com/eclipse/paho.mqtt.python.git
|
||||
cd ./paho.mqtt.python
|
||||
sudo python setup.py install
|
||||
cd ..
|
||||
# -----------------------------------------------------
|
||||
|
||||
chmod +x ./src/RaspberryAgent.py
|
||||
sudo python ./src/RaspberryAgent.py -i $input -m $mode
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user